diff options
author | Mattias Andrée <maandree@kth.se> | 2016-03-27 21:46:09 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-03-27 21:46:09 +0200 |
commit | 0f59f6c7901b521b9a72240f0f83a293b655a60a (patch) | |
tree | 0181ed5338ba8c554888762c7471712ab323fd35 /tac-test | |
parent | add tac test (diff) | |
download | base-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 '')
-rwxr-xr-x | tac-test/test | 8 |
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 |