aboutsummaryrefslogtreecommitdiffstats
path: root/cat-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 /cat-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 'cat-test')
-rwxr-xr-xcat-test/test8
1 files changed, 7 insertions, 1 deletions
diff --git a/cat-test/test b/cat-test/test
index b59188a..1a3d3b3 100755
--- a/cat-test/test
+++ b/cat-test/test
@@ -59,6 +59,12 @@ file_dash ()
report $? "file_dash"
}
+ddash ()
+{
+ diff <($c -- 4) 4 > /dev/null
+ report $? "ddash"
+}
+
uflag ()
{
touch tmp; rm tmp
@@ -78,7 +84,7 @@ uflag ()
if test $# = 0; then
- set $(printf 'file_%i\n' $(seq 1 $N)) dash dash_many file_one file_many file_dash uflag
+ set $(printf 'file_%i\n' $(seq 1 $N)) dash dash_many file_one file_many file_dash ddash uflag
fi
(
for f in $@; do