From 336c44adca1768ada1e1e2f4d7dbbc33e994e582 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 2 Mar 2016 15:20:04 -0600 Subject: Factor out command name at the start of test name, have runtest.sh print it. --- tests/zcat.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/zcat.test') diff --git a/tests/zcat.test b/tests/zcat.test index c1297c91..ccd472cd 100755 --- a/tests/zcat.test +++ b/tests/zcat.test @@ -11,7 +11,7 @@ tar -czf file.gz file # Get system zcat zcatExe=`which zcat` $zcatExe file.gz > zcatOut -testing "zcat - decompresses a single file" "zcat file.gz > Tempfile && echo "yes"; diff Tempfile zcatOut && echo "yes"; rm -rf file* zcatOut Tempfile" "yes\nyes\n" "" "" +testing "- decompresses a single file" "zcat file.gz > Tempfile && echo "yes"; diff Tempfile zcatOut && echo "yes"; rm -rf file* zcatOut Tempfile" "yes\nyes\n" "" "" #testing "name" "command" "result" "infile" "stdin" echo "hello" > file1 @@ -23,4 +23,4 @@ tar -czf file3.gz file3 # Get system zcat zcatExe=`which zcat` $zcatExe file1.gz file2.gz file3.gz > zcatOut -testing "zcat - decompresses multiple files" "zcat file1.gz file2.gz file3.gz > Tempfile && echo "yes" ; diff Tempfile zcatOut && echo "yes"; rm -rf file* zcatOut Tempfile " "yes\nyes\n" "" "" +testing "- decompresses multiple files" "zcat file1.gz file2.gz file3.gz > Tempfile && echo "yes" ; diff Tempfile zcatOut && echo "yes"; rm -rf file* zcatOut Tempfile " "yes\nyes\n" "" "" -- cgit v1.2.3