aboutsummaryrefslogtreecommitdiffstats
path: root/tac-test/test
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-27 21:46:09 +0200
committerMattias Andrée <maandree@kth.se>2016-03-27 21:46:09 +0200
commit0f59f6c7901b521b9a72240f0f83a293b655a60a (patch)
tree0181ed5338ba8c554888762c7471712ab323fd35 /tac-test/test
parentadd tac test (diff)
downloadbase-util-tests-0f59f6c7901b521b9a72240f0f83a293b655a60a.tar.gz
base-util-tests-0f59f6c7901b521b9a72240f0f83a293b655a60a.tar.bz2
base-util-tests-0f59f6c7901b521b9a72240f0f83a293b655a60a.tar.xz
m + add rev test
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'tac-test/test')
-rwxr-xr-xtac-test/test8
1 files changed, 7 insertions, 1 deletions
diff --git a/tac-test/test b/tac-test/test
index 769e226..db4e121 100755
--- a/tac-test/test
+++ b/tac-test/test
@@ -53,9 +53,15 @@ file_dash ()
report $? "file_dash"
}
+ddash ()
+{
+ diff <($t -- 4.in) 4.out > /dev/null
+ report $? "ddash"
+}
+
if test $# = 0; then
- set $(printf 'file_%i\n' $(seq 1 $N)) dash file_one file_many file_dash
+ set $(printf 'file_%i\n' $(seq 1 $N)) dash file_one file_many file_dash ddash
fi
(
for f in $@; do