]> git.draconx.ca Git - dxcommon.git/blobdiff - snippet/test-tap.at
test-tap: Fix Solaris /bin/sh "prove: not found" on stderr.
[dxcommon.git] / snippet / test-tap.at
index cccea491342efd67d4649901aaa545d5ea14ecc4..2873cf463b41754320fe72365698afbc35f2fb83 100644 (file)
@@ -25,7 +25,7 @@ test_run_tap () {
   # Older versions of prove do not support the -e option so the
   # "test" must be a perl script.
   :; { echo 'print <<EOF'; cat "$program.tap"; echo 'EOF'; } >"$program.pl"
-  prove "$program.pl" 2>&1
+  { prove "$program.pl"; } 2>&1
   return $status
 }
 m4_divert_pop([PREPARE_TESTS])])