tests: improve help-version
authorJim Meyering <meyering@redhat.com>
Wed, 7 Apr 2010 06:19:02 +0000 (08:19 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 7 Apr 2010 07:22:43 +0000 (09:22 +0200)
* tests/help-version: Use fail_, rather than echo+Exit.

tests/help-version

index 3c865fbfe0767618560f3e4ae025e2c4841f4cd8..063ad30db98cbc329c889e1d13ad8cb199f2ab1d 100755 (executable)
@@ -57,7 +57,7 @@ expected_failure_status_egrep=2
 expected_failure_status_fgrep=2
 
 test "$built_programs" \
-  || { echo "$this_test: no programs built!?!" 1>&2; Exit 1; }
+  || fail_ "built_programs not specified!?!"
 
 for lang in C fr da; do
   for i in $built_programs; do