From: Karel Zak Date: Fri, 4 Jun 2010 21:31:43 +0000 (+0200) Subject: tests: mount cramfs read-only X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88827f2623f24bda1e44cdacdee992732a722f90;p=util-linux tests: mount cramfs read-only Signed-off-by: Karel Zak --- diff --git a/tests/ts/cramfs/mkfs b/tests/ts/cramfs/mkfs index eb85c55c..99b039e2 100755 --- a/tests/ts/cramfs/mkfs +++ b/tests/ts/cramfs/mkfs @@ -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