summaryrefslogtreecommitdiff
path: root/tests/tr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tr')
-rwxr-xr-xtests/tr/build-script4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tr/build-script b/tests/tr/build-script
index eaa01faa4..fd0a18924 100755
--- a/tests/tr/build-script
+++ b/tests/tr/build-script
@@ -32,8 +32,8 @@ while (<>)
|| die "Couldn't open $exp_name for writing.\n";
print EXP $expected;
close(EXP);
- $arg2 = ($s2 ? "'$s2'" : '');
- $cmd = "$tr $flags \'$s1\' $arg2 < $in > $out";
+ $arg2 = ($s2 ? " '$s2'" : '');
+ $cmd = "$tr $flags \'$s1\'$arg2 < $in > $out";
print <<EOF ;
$cmd 2> /dev/null
code=\$?