summaryrefslogtreecommitdiff
path: root/tests/tester.sh
diff options
context:
space:
mode:
authorMark Whitley2001-05-24 21:24:39 +0000
committerMark Whitley2001-05-24 21:24:39 +0000
commit0a4f578fdc867714e8e942add8700aa15bd80443 (patch)
tree551e237f17de4dcc2dd1a43aad6318ff9498fde2 /tests/tester.sh
parentfa43e54b6f662cb33043ff9d1d312558a6e54bc3 (diff)
downloadbusybox-0a4f578fdc867714e8e942add8700aa15bd80443.zip
busybox-0a4f578fdc867714e8e942add8700aa15bd80443.tar.gz
'Nother patch from Larry to fix a buglet in how the line gets sed-ified.
Also, more testcases and comments on bugs and formatting differences in some of the testcases.
Diffstat (limited to 'tests/tester.sh')
-rwxr-xr-xtests/tester.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tester.sh b/tests/tester.sh
index 9209006..a767c6c 100755
--- a/tests/tester.sh
+++ b/tests/tester.sh
@@ -124,8 +124,8 @@ do
# line=${line//;/; $BUSYBOX }
# line=${line//|/| $BUSYBOX }
# assume $BUSYBOX has no commas
- line=`echo $line | sed -e 's,;,; '$BUSYBOX, \
- -e 's,|,| '$BUSYBOX,`
+ line=`echo "$line" | sed -e 's,;,; '$BUSYBOX, \
+ -e 's, |, | '$BUSYBOX,`
# execute line using busybox programs
[ $DEBUG -ge 2 ] && echo "testing: $line" | tee -a $LOGFILE