summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/tr/build-script.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/tr/build-script.pl b/tests/tr/build-script.pl
index ded2f8cb2..c12461b4c 100755
--- a/tests/tr/build-script.pl
+++ b/tests/tr/build-script.pl
@@ -1,9 +1,14 @@
#! @PERL@ -w
+# -*- perl -*-
+# @configure_input@
+
require 5.002;
use strict;
$| = 1;
+my $xx = '../../src/tr';
+
print <<EOF;
#! /bin/sh
# run-test generated automatically by build-script from test.data.pl
@@ -11,7 +16,7 @@ case \$# in
0) xx='$xx';;
*) xx="\$1";;
esac
-echo=echo
+echo=:
\$echo testing with $xx=\$xx
errors=0
test "\$srcdir" || srcdir=.