tests: fix mount/special to be compatible with libmount

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2012-01-12 21:51:29 +01:00
parent c851223602
commit cfd693addd
2 changed files with 2 additions and 18 deletions

View File

@ -1,17 +1 @@
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: spec: "/foo"
mount: node: "/bar"
mount: types: "mytest"
mount: opts: "(null)"
mount: external mount: argv[0] = "/sbin/mount.mytest"
mount: external mount: argv[1] = "/foo"
mount: external mount: argv[2] = "/bar"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw"
/sbin/mount.mytest called with "/foo /bar -v -o rw"
/sbin/mount.mytest called with "/foo /bar -o rw"

View File

@ -32,7 +32,7 @@ echo "$0 called with \"$*\""
EOF
chmod +x $MOUNTER
$TS_CMD_MOUNT -v -v -v -t mytest /foo /bar &> $TS_OUTPUT
$TS_CMD_MOUNT -t mytest /foo /bar &> $TS_OUTPUT
rm -f $MOUNTER