]> diplodocus.org Git - nmh/commitdiff
test/common.sh.in: test_skip(): Remove unused variable.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 20 May 2017 11:09:13 +0000 (12:09 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 20 May 2017 11:09:13 +0000 (12:09 +0100)
`$Test' was being interpolated into the output, but has never existed.
Rephrase the output given a /^SKIP: / line follows from the test harness
due to the `exit 77'.

test/common.sh.in

index 54b885e4014f91e4cdf4dd712cdfae887889ce58..45db9db39ae74c021b351c6cda570d44ecdeed4a 100644 (file)
@@ -70,8 +70,8 @@ fi
 
 test_skip ()
 {
 
 test_skip ()
 {
-  WHY="$1"
-  echo "$Test $0 SKIP ($WHY)"
+  why="$1"
+  echo "$0: skipped: $why"
   exit 77
 }
 
   exit 77
 }