aboutsummaryrefslogtreecommitdiff
path: root/scripts/test/tac.test
diff options
context:
space:
mode:
authorElie De Brauwer <eliedebrauwer@gmail.com>2012-12-22 11:50:11 +0100
committerElie De Brauwer <eliedebrauwer@gmail.com>2012-12-22 11:50:11 +0100
commitde08aef53c4611de5b64b332ac6c1b9c920b7d0b (patch)
tree2810a4a0b7368bf4276ad0cf70f9af8bdd3908ca /scripts/test/tac.test
parent7a78d92da70d24947fa9e828a960658ea32b74e7 (diff)
downloadtoybox-de08aef53c4611de5b64b332ac6c1b9c920b7d0b.tar.gz
Fix tac to handle the "abc\ndef" case properly
Diffstat (limited to 'scripts/test/tac.test')
-rw-r--r--scripts/test/tac.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/test/tac.test b/scripts/test/tac.test
index a70c3c1e..96f25310 100644
--- a/scripts/test/tac.test
+++ b/scripts/test/tac.test
@@ -17,8 +17,7 @@ testing "tac file1 notfound file2" \
"tac file1 notfound file2 2>stderr && echo ok ; tac stderr; rm stderr" \
"one-B\none-A\ntwo-B\ntwo-A\ntac: notfound: No such file or directory\n" "" ""
-# echo -ne "abc\ndef" | tac actually gives "defabc\n"
-testing "tac no trailing newline" "tac -" "def\nabc\n" "" "abc\ndef"
+testing "tac no trailing newline" "tac -" "defabc\n" "" "abc\ndef"
# xputs used by tac does not propagate this error condition properly.
#testing "tac > /dev/full" \