From 05aefe25bacd1c22bf2d5cc935aa9d3d28f5d841 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 13 Jun 2013 01:05:06 +0200 Subject: [PATCH] tests: Rename example-* to example_* for consistency. --- tests/Makefile.am | 12 ++++++------ tests/example-noforce.sh | 1 - tests/example_noforce.sh | 1 + ...force.sh.expected => example_noforce.sh.expected} | 0 tests/{example-redirects.sh => example_redirects.sh} | 0 ...cts.sh.expected => example_redirects.sh.expected} | 0 tests/{example-simple.sh => example_simple.sh} | 0 ...simple.sh.expected => example_simple.sh.expected} | 0 tests/run.sh | 10 +++++----- 9 files changed, 12 insertions(+), 12 deletions(-) delete mode 120000 tests/example-noforce.sh create mode 120000 tests/example_noforce.sh rename tests/{example-noforce.sh.expected => example_noforce.sh.expected} (100%) rename tests/{example-redirects.sh => example_redirects.sh} (100%) rename tests/{example-redirects.sh.expected => example_redirects.sh.expected} (100%) rename tests/{example-simple.sh => example_simple.sh} (100%) rename tests/{example-simple.sh.expected => example_simple.sh.expected} (100%) 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 -- 2.43.2