From aea59dc9bc91c4dea9e9f1d2e9d62e6c68fd0bb5 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sun, 12 May 2024 22:49:15 -0300 Subject: [PATCH] Move readme_examples_test.rb --- bin/run-unprivileged-tests | 2 +- test/{ => unprivileged}/readme_examples_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename test/{ => unprivileged}/readme_examples_test.rb (95%) diff --git a/bin/run-unprivileged-tests b/bin/run-unprivileged-tests index 719b7c6..ff4faa1 100755 --- a/bin/run-unprivileged-tests +++ b/bin/run-unprivileged-tests @@ -17,7 +17,7 @@ run_test() # main if [ "$(id -u)" != "0" ]; then rake clean clobber compile - for file in test/readme_examples_test.rb test/unprivileged/*_test.rb; do + for file in test/unprivileged/*_test.rb; do logfile=".runner.log_$(basename ${file})" if run_test "${file}" "${logfile}"; then echo -n . diff --git a/test/readme_examples_test.rb b/test/unprivileged/readme_examples_test.rb similarity index 95% rename from test/readme_examples_test.rb rename to test/unprivileged/readme_examples_test.rb index baa9a20..3124ea2 100644 --- a/test/readme_examples_test.rb +++ b/test/unprivileged/readme_examples_test.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require_relative "setup" +require_relative "../setup" class ReadmeExamplesTest < Test::Unit::TestCase require "rbconfig"