]> err.no Git - util-linux/commitdiff
tests: mount cramfs read-only
authorKarel Zak <kzak@redhat.com>
Fri, 4 Jun 2010 21:31:43 +0000 (23:31 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 4 Jun 2010 21:31:43 +0000 (23:31 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/cramfs/mkfs

index eb85c55cf29baabe358d1a90b1eb8e367b6f2ed3..99b039e2d6cd02722379bba5ee234e84914befae 100755 (executable)
@@ -71,7 +71,7 @@ ts_device_has "TYPE" "cramfs" $DEVICE
 [  "$?" == "0" ] || ts_die "Cannot found cramfs on $DEVICE" $DEVICE
 
 ts_log "mount the image"
-$TS_CMD_MOUNT -L $LABEL $TS_MOUNTPOINT 2>&1 >> $TS_OUTPUT
+$TS_CMD_MOUNT -r -L $LABEL $TS_MOUNTPOINT 2>&1 >> $TS_OUTPUT
 
 # check it
 ts_is_mounted $DEVICE || ts_die "Cannot found $DEVICE in /proc/mounts" $DEVICE