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/xzcat.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/xzcat.test') diff --git a/tests/xzcat.test b/tests/xzcat.test index e82ca881..4aaf35f9 100755 --- a/tests/xzcat.test +++ b/tests/xzcat.test @@ -11,7 +11,7 @@ tar -cJf file.xz file # Get system xzcat xzcatExe=`which xzcat` $xzcatExe file.xz > xzcatOut -testing "xzcat - decompresses a single file" "xzcat file.xz > Tempfile && echo "yes"; diff Tempfile xzcatOut && echo "yes"; rm -rf file* xzcatOut Tempfile" "yes\nyes\n" "" "" +testing "- decompresses a single file" "xzcat file.xz > Tempfile && echo "yes"; diff Tempfile xzcatOut && echo "yes"; rm -rf file* xzcatOut Tempfile" "yes\nyes\n" "" "" #testing "name" "command" "result" "infile" "stdin" echo "hello" > file1 @@ -23,4 +23,4 @@ tar -cJf file3.xz file3 # Get system xzcat xzcatExe=`which xzcat` $xzcatExe file1.xz file2.xz file3.xz > xzcatOut -testing "xzcat - decompresses multiple files" "xzcat file1.xz file2.xz file3.xz > Tempfile && echo "yes" ; diff Tempfile xzcatOut && echo "yes"; rm -rf file* xzcatOut Tempfile " "yes\nyes\n" "" "" +testing "- decompresses multiple files" "xzcat file1.xz file2.xz file3.xz > Tempfile && echo "yes" ; diff Tempfile xzcatOut && echo "yes"; rm -rf file* xzcatOut Tempfile " "yes\nyes\n" "" "" -- cgit v1.2.3