summaryrefslogtreecommitdiff
path: root/usr.bin/sed
diff options
context:
space:
mode:
authorYuri Pankov <yuripv@FreeBSD.org>2020-07-13 01:32:37 +0000
committerYuri Pankov <yuripv@FreeBSD.org>2020-07-13 01:32:37 +0000
commite4bfd2a67584983ad0246abd84982b2e6539204c (patch)
treedbc525b9bf5c8b813a30f4b68054f3f915abbfc2 /usr.bin/sed
parent6722f6e5772f25d4af59e7960306dd9da1bab0f3 (diff)
downloadsrc-test2-e4bfd2a67584983ad0246abd84982b2e6539204c.tar.gz
src-test2-e4bfd2a67584983ad0246abd84982b2e6539204c.zip
Notes
Diffstat (limited to 'usr.bin/sed')
-rw-r--r--usr.bin/sed/tests/multi_test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/sed/tests/multi_test.sh b/usr.bin/sed/tests/multi_test.sh
index 5cbe02bbc283..ede97239f9bf 100644
--- a/usr.bin/sed/tests/multi_test.sh
+++ b/usr.bin/sed/tests/multi_test.sh
@@ -92,9 +92,9 @@ result()
cp current.out $REGRESS/${TESTNAME}
fi
if diff -c $REGRESS/${TESTNAME} current.out ; then
- echo "ok $MARK $TESTNAME # $TODO$COMMENT"
+ echo "ok $MARK $TESTNAME # $TODO$OCOMMENT"
else
- echo "not ok $MARK $TESTNAME # $TODO$COMMENT"
+ echo "not ok $MARK $TESTNAME # $TODO$OCOMMENT"
fi 1>&4 2>&5
}
@@ -102,6 +102,7 @@ result()
mark()
{
[ $MARK -gt 0 ] && result
+ OCOMMENT=$COMMENT
MARK=`expr $MARK + 1`
TESTNAME=$1
exec 1>&4 2>&5