aboutsummaryrefslogtreecommitdiff
path: root/tests/mknod
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mknod')
-rw-r--r--tests/mknod/00.t3
-rw-r--r--tests/mknod/01.t1
-rw-r--r--tests/mknod/02.t1
-rw-r--r--tests/mknod/03.t1
-rw-r--r--tests/mknod/04.t3
-rw-r--r--tests/mknod/05.t1
-rw-r--r--tests/mknod/06.t1
-rw-r--r--tests/mknod/07.t1
-rw-r--r--tests/mknod/08.t1
-rw-r--r--tests/mknod/09.t1
-rw-r--r--tests/mknod/10.t1
-rw-r--r--tests/mknod/11.t1
12 files changed, 14 insertions, 2 deletions
diff --git a/tests/mknod/00.t b/tests/mknod/00.t
index 67f4046a6ffb..f10aa7f1926a 100644
--- a/tests/mknod/00.t
+++ b/tests/mknod/00.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/00.t 211352 2010-08-15 21:24:17Z pjd $
desc="mknod creates fifo files"
@@ -49,7 +50,7 @@ expect 0 -u 65534 -g 65533 mknod ${n0} f 0755 0 0
expect "65534,6553[35]" lstat ${n0} uid,gid
expect 0 unlink ${n0}
-# POSIX: Upon successful completion, mkfifo() shall mark for update the
+# POSIX: Upon successful completion, mknod() shall mark for update the
# st_atime, st_ctime, and st_mtime fields of the file. Also, the st_ctime and
# st_mtime fields of the directory that contains the new entry shall be marked
# for update.
diff --git a/tests/mknod/01.t b/tests/mknod/01.t
index 84a0a9731cd7..407da5aa82c7 100644
--- a/tests/mknod/01.t
+++ b/tests/mknod/01.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/01.t 211474 2010-08-18 22:06:43Z pjd $
desc="mknod returns ENOTDIR if a component of the path prefix is not a directory"
diff --git a/tests/mknod/02.t b/tests/mknod/02.t
index 4e864fe69f69..a923f5ace87e 100644
--- a/tests/mknod/02.t
+++ b/tests/mknod/02.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/02.t 211352 2010-08-15 21:24:17Z pjd $
desc="mknod returns ENAMETOOLONG if a component of a pathname exceeded {NAME_MAX} characters"
diff --git a/tests/mknod/03.t b/tests/mknod/03.t
index d5c572cbf460..e400f89c7d63 100644
--- a/tests/mknod/03.t
+++ b/tests/mknod/03.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/03.t 211352 2010-08-15 21:24:17Z pjd $
desc="mknod returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters"
diff --git a/tests/mknod/04.t b/tests/mknod/04.t
index 4b80208caffe..1f43e1d2a76c 100644
--- a/tests/mknod/04.t
+++ b/tests/mknod/04.t
@@ -1,7 +1,8 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/04.t 211352 2010-08-15 21:24:17Z pjd $
-desc="mkfifo returns ENOENT if a component of the path prefix does not exist"
+desc="mknod returns ENOENT if a component of the path prefix does not exist"
dir=`dirname $0`
. ${dir}/../misc.sh
diff --git a/tests/mknod/05.t b/tests/mknod/05.t
index deafda620750..5d5cbc086cef 100644
--- a/tests/mknod/05.t
+++ b/tests/mknod/05.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/05.t 211352 2010-08-15 21:24:17Z pjd $
desc="mknod returns EACCES when search permission is denied for a component of the path prefix"
diff --git a/tests/mknod/06.t b/tests/mknod/06.t
index da7a5497b5a6..b6e49904d25a 100644
--- a/tests/mknod/06.t
+++ b/tests/mknod/06.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/06.t 211352 2010-08-15 21:24:17Z pjd $
desc="mknod returns EACCES when write permission is denied on the parent directory of the file to be created"
diff --git a/tests/mknod/07.t b/tests/mknod/07.t
index 1b39cc7c6d94..6aed4bbd6c69 100644
--- a/tests/mknod/07.t
+++ b/tests/mknod/07.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/07.t 211352 2010-08-15 21:24:17Z pjd $
desc="mknod returns ELOOP if too many symbolic links were encountered in translating the pathname"
diff --git a/tests/mknod/08.t b/tests/mknod/08.t
index a8055629de07..336993591a7e 100644
--- a/tests/mknod/08.t
+++ b/tests/mknod/08.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/08.t 211474 2010-08-18 22:06:43Z pjd $
desc="mknod returns EEXIST if the named file exists"
diff --git a/tests/mknod/09.t b/tests/mknod/09.t
index 00c2a2f6d8b5..6156cb2560d0 100644
--- a/tests/mknod/09.t
+++ b/tests/mknod/09.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/09.t 211352 2010-08-15 21:24:17Z pjd $
desc="mknod returns EPERM if the parent directory of the file to be created has its immutable flag set"
diff --git a/tests/mknod/10.t b/tests/mknod/10.t
index 5bf18d37adc4..16d6071a6138 100644
--- a/tests/mknod/10.t
+++ b/tests/mknod/10.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/10.t 211352 2010-08-15 21:24:17Z pjd $
desc="mknod returns EFAULT if the path argument points outside the process's allocated address space"
diff --git a/tests/mknod/11.t b/tests/mknod/11.t
index 309f71695f31..e4d2da80121a 100644
--- a/tests/mknod/11.t
+++ b/tests/mknod/11.t
@@ -1,4 +1,5 @@
#!/bin/sh
+# vim: filetype=sh noexpandtab ts=8 sw=8
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/11.t 211352 2010-08-15 21:24:17Z pjd $
desc="mknod creates device files"