summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-08-12 19:43:40 +0000
committerpjd <pjd@FreeBSD.org>2010-08-12 19:43:40 +0000
commit60f714732bf98bfa269fb528d7ee76c85ff55c16 (patch)
tree72a40b74ade35c18240471ea7098d52efd810afd /tools/regression
parent6b6ab892f92693a0f60e153dce41b81e11911293 (diff)
downloadFreeBSD-src-60f714732bf98bfa269fb528d7ee76c85ff55c16.zip
FreeBSD-src-60f714732bf98bfa269fb528d7ee76c85ff55c16.tar.gz
Fix copy&pasted code - we want to create character device here.
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/fstest/tests/unlink/11.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/regression/fstest/tests/unlink/11.t b/tools/regression/fstest/tests/unlink/11.t
index eb2a79c..2542bf9 100644
--- a/tools/regression/fstest/tests/unlink/11.t
+++ b/tools/regression/fstest/tests/unlink/11.t
@@ -67,19 +67,19 @@ expect "EACCES|EPERM" -u 65533 -g 65533 unlink ${n0}/${n1}
expect 0 unlink ${n0}/${n1}
# User owns both: the sticky directory and the character device to be removed.
-expect 0 mknod ${n0}/${n1} b 0644 1 2
+expect 0 mknod ${n0}/${n1} c 0644 1 2
expect 0 chown ${n0}/${n1} 65534 65534
expect 0 -u 65534 -g 65534 unlink ${n0}/${n1}
# User owns the character device to be removed, but doesn't own the sticky directory.
-expect 0 mknod ${n0}/${n1} b 0644 1 2
+expect 0 mknod ${n0}/${n1} c 0644 1 2
expect 0 chown ${n0}/${n1} 65533 65533
expect 0 -u 65533 -g 65533 unlink ${n0}/${n1}
# User owns the sticky directory, but doesn't own the character device to be removed.
-expect 0 mknod ${n0}/${n1} b 0644 1 2
+expect 0 mknod ${n0}/${n1} c 0644 1 2
expect 0 chown ${n0}/${n1} 65533 65533
expect 0 -u 65534 -g 65534 unlink ${n0}/${n1}
# User doesn't own the sticky directory nor the character directory to be removed.
-expect 0 mknod ${n0}/${n1} b 0644 1 2
+expect 0 mknod ${n0}/${n1} c 0644 1 2
expect 0 chown ${n0}/${n1} 65534 65534
expect "EACCES|EPERM" -u 65533 -g 65533 unlink ${n0}/${n1}
expect 0 unlink ${n0}/${n1}
OpenPOWER on IntegriCloud