aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-19 19:38:13 +0200
committerMattias Andrée <maandree@kth.se>2017-10-19 19:38:13 +0200
commit8366c374fc04e4e6471d627e76a203141450232d (patch)
treeea248b7079bdf4c2602635c87201d2cd2ec53eba /test
parentAdd more tests (diff)
downloadxtest-2.1.tar.gz
xtest-2.1.tar.bz2
xtest-2.1.tar.xz
Fix test2.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rwxr-xr-xtest6
1 files changed, 4 insertions, 2 deletions
diff --git a/test b/test
index c07ca31..35d011d 100755
--- a/test
+++ b/test
@@ -37,7 +37,6 @@ simple_test() {
simple_test b /dev
simple_test c /dev
simple_test d /dev
-simple_test f /dev
mkdir -p .testdir
touch .testdir/r .testdir/w .testdir/x .testdir/k .testdir/u .testdir/g .testdir/rw
@@ -52,6 +51,9 @@ chmod 600 .testdir/rw
ln -s 'non existent file' .testdir/h
mkfifo .testdir/p
./mksocket .testdir/S
+mkdir -p .testdir/d
+simple_test f .testdir
+simple_test d .testdir
simple_test e .testdir
simple_test r .testdir
simple_test w .testdir
@@ -72,7 +74,7 @@ find .testdir -print0 | ./xtest -0x | tr '\0' '\n' > .testdir/tr
diff .testdir/tr .testdir/lf >/dev/null
for f in 0 1 2 3 4 5 6 x y z; do
- if test $(xtest -t $f | wc -l) = 0; then
+ if test $(./xtest -t $f | wc -l) = 0; then
! test -t $f
else
test -t $f