]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: (tests) don't create /dev/nul
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 17 Oct 2023 16:01:31 +0000 (18:01 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 17 Oct 2023 16:07:05 +0000 (18:07 +0200)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/ts/mount/umount-recursive

index 5902f12fbd5273eb69dd259691b61884fe5ec84f..c6f39c534fa0274e20ca78d62c393b0c83ad14e3 100755 (executable)
@@ -86,7 +86,7 @@ $TS_CMD_MOUNT ${TS_DEVICE}4 $TS_MOUNTPOINT/mntB/mntD >> $TS_OUTPUT 2>> $TS_ERRLO
 
 ts_log "E) Mount child-bind"
 mkdir -p $TS_MOUNTPOINT/bindC
-$TS_CMD_MOUNT --bind $TS_MOUNTPOINT/mntB/mntC $TS_MOUNTPOINT/bindC &> /dev/nul
+$TS_CMD_MOUNT --bind $TS_MOUNTPOINT/mntB/mntC $TS_MOUNTPOINT/bindC &> /dev/null
 
 udevadm settle
 $TS_CMD_UMOUNT --recursive $TS_MOUNTPOINT >> $TS_OUTPUT 2>> $TS_ERRLOG