From: Simon Ruderich Date: Wed, 12 Jun 2013 23:05:06 +0000 (+0200) Subject: tests: Rename example-* to example_* for consistency. X-Git-Tag: 0.1~69 X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=commitdiff_plain;h=05aefe25bacd1c22bf2d5cc935aa9d3d28f5d841;hp=8a58e07a5bc69ef7170faee373d070684d2f159d tests: Rename example-* to example_* for consistency. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index f8b0f94..32d9ca3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -17,12 +17,12 @@ dist_check_DATA = example.expected \ example_error.expected \ example_exec.expected \ example_vfork.expected \ - example-noforce.sh \ - example-noforce.sh.expected \ - example-redirects.sh \ - example-redirects.sh.expected \ - example-simple.sh \ - example-simple.sh.expected + example_noforce.sh \ + example_noforce.sh.expected \ + example_redirects.sh \ + example_redirects.sh.expected \ + example_simple.sh \ + example_simple.sh.expected # Used by run.sh. export EGREP diff --git a/tests/example-noforce.sh b/tests/example-noforce.sh deleted file mode 120000 index 9f2d093..0000000 --- a/tests/example-noforce.sh +++ /dev/null @@ -1 +0,0 @@ -example-simple.sh \ No newline at end of file diff --git a/tests/example_noforce.sh b/tests/example_noforce.sh new file mode 120000 index 0000000..462fb9d --- /dev/null +++ b/tests/example_noforce.sh @@ -0,0 +1 @@ +example_simple.sh \ No newline at end of file diff --git a/tests/example-noforce.sh.expected b/tests/example_noforce.sh.expected similarity index 100% rename from tests/example-noforce.sh.expected rename to tests/example_noforce.sh.expected diff --git a/tests/example-redirects.sh b/tests/example_redirects.sh similarity index 100% rename from tests/example-redirects.sh rename to tests/example_redirects.sh diff --git a/tests/example-redirects.sh.expected b/tests/example_redirects.sh.expected similarity index 100% rename from tests/example-redirects.sh.expected rename to tests/example_redirects.sh.expected diff --git a/tests/example-simple.sh b/tests/example_simple.sh similarity index 100% rename from tests/example-simple.sh rename to tests/example_simple.sh diff --git a/tests/example-simple.sh.expected b/tests/example_simple.sh.expected similarity index 100% rename from tests/example-simple.sh.expected rename to tests/example_simple.sh.expected diff --git a/tests/run.sh b/tests/run.sh index ee26896..a203d48 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -42,18 +42,18 @@ fi # Make sure we don't write to non-ttys by default. force_write= -test_script example-noforce.sh +test_script example_noforce.sh force_write=1 -test_script example-simple.sh -test_script example-redirects.sh +test_script example_simple.sh +test_script example_redirects.sh test_program example test_program example_exec test -x "$builddir/example_vfork" && test_program example_vfork test -x "$builddir/example_error" && test_program example_error -test_script_subshell example-simple.sh -test_script_subshell example-redirects.sh +test_script_subshell example_simple.sh +test_script_subshell example_redirects.sh test_program_subshell example test_program_subshell example_exec test -x "$builddir/example_vfork" && test_program_subshell example_vfork