summaryrefslogtreecommitdiff
path: root/tests/misc/mknod
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2011-05-10 08:14:16 +0100
committerPádraig Brady <P@draigBrady.com>2011-05-14 10:41:29 +0100
commit5116103826c1776be0661bd591acd08fbefe9767 (patch)
tree45aaee0a87b197a6da572694cf3a434255a2395c /tests/misc/mknod
parent27873f1deb69745c79d403bbb8e1145bc18f55b8 (diff)
downloadcoreutils-5116103826c1776be0661bd591acd08fbefe9767.tar.xz
tests: refactor more tests to use mkfifo_or_skip_
* tests/cp/existing-perm-race: s/mkfifo/mkfifo_or_skip_/ * tests/cp/file-perm-race: Likewise. * tests/cp/parent-perm-race: Likewise. * tests/cp/special-f: Likewise. * tests/dd/reblock: Likewise. * tests/ls/file-type: Likewise. * tests/misc/cat-buf: Likewise. * tests/misc/mknod: Likewise. * tests/misc/printf-surprise: Likewise. * tests/misc/selinux: Likewise. * tests/misc/sort-spinlock-abuse: Likewise. * tests/misc/stdbuf: Likewise. * tests/misc/tac-continue: Likewise. * tests/init.cfg: Improve the error message when skipping.
Diffstat (limited to 'tests/misc/mknod')
-rwxr-xr-xtests/misc/mknod2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc/mknod b/tests/misc/mknod
index 053f96f33..c07b633a8 100755
--- a/tests/misc/mknod
+++ b/tests/misc/mknod
@@ -19,6 +19,8 @@
. "${srcdir=.}/init.sh"; path_prepend_ ../src
print_ver_ mknod
+# Ensure fifos are supported
+mkfifo_or_skip_ fifo
umask 777