summaryrefslogtreecommitdiff
path: root/regress/sys/ffs/tests/chflags
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/ffs/tests/chflags')
-rw-r--r--regress/sys/ffs/tests/chflags/12.t14
1 files changed, 7 insertions, 7 deletions
diff --git a/regress/sys/ffs/tests/chflags/12.t b/regress/sys/ffs/tests/chflags/12.t
index 2316514aa5b..7cb44c1af5a 100644
--- a/regress/sys/ffs/tests/chflags/12.t
+++ b/regress/sys/ffs/tests/chflags/12.t
@@ -8,24 +8,24 @@ n1=`namegen`
expect 0 mkdir ${n0} 0755
dd if=/dev/zero of=tmpdisk bs=1k count=1024 2>/dev/null
-vnconfig svnd1 tmpdisk
-newfs /dev/rsvnd1c >/dev/null
-mount /dev/svnd1c ${n0}
+vnconfig vnd1 tmpdisk
+newfs /dev/rvnd1c >/dev/null
+mount /dev/vnd1c ${n0}
expect 0 create ${n0}/${n1} 0644
expect 0 chflags ${n0}/${n1} UF_IMMUTABLE
expect UF_IMMUTABLE stat ${n0}/${n1} flags
expect 0 chflags ${n0}/${n1} none
expect none stat ${n0}/${n1} flags
-mount -ur /dev/svnd1c
+mount -ur /dev/vnd1c
expect EROFS chflags ${n0}/${n1} UF_IMMUTABLE
expect none stat ${n0}/${n1} flags
-mount -uw /dev/svnd1c
+mount -uw /dev/vnd1c
expect 0 chflags ${n0}/${n1} UF_IMMUTABLE
expect UF_IMMUTABLE stat ${n0}/${n1} flags
expect 0 chflags ${n0}/${n1} none
expect none stat ${n0}/${n1} flags
expect 0 unlink ${n0}/${n1}
-umount /dev/svnd1c
-vnconfig -u svnd1
+umount /dev/vnd1c
+vnconfig -u vnd1
rm tmpdisk
expect 0 rmdir ${n0}