]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: fixes mount tests on SPARC
authorAnatoly Pugachev <matorola@gmail.com>
Tue, 10 Mar 2020 22:05:50 +0000 (01:05 +0300)
committerAnatoly Pugachev <matorola@gmail.com>
Wed, 11 Mar 2020 14:22:21 +0000 (17:22 +0300)
fdisk partition table fix for writting "msdos" label before the test

Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
tests/ts/mount/fstab-all
tests/ts/mount/umount-alltargets
tests/ts/mount/umount-recursive

index 1f53bacc9abb8a933de827da7ab05f04b6eefe42..e8f0c9ea46e914d723ff9be3f9adaed91cb3006d 100755 (executable)
@@ -22,6 +22,7 @@ ts_scsi_debug_init dev_size_mb=50
 
 ts_log "Create partitions"
 $TS_CMD_FDISK ${TS_DEVICE} &> /dev/null <<EOF
+o
 n
 p
 1
index 4f2a0f1b57f45d79cf92908b0fb4fabdaaab73a9..1be8c4be4bce5ac3497f079eea71dd622930d0bd 100755 (executable)
@@ -28,6 +28,7 @@ ts_scsi_debug_init dev_size_mb=50
 
 ts_log "Create partitions"
 $TS_CMD_FDISK ${TS_DEVICE} &> /dev/null <<EOF
+o
 n
 p
 1
index 7857fe3a4d1e1c9f6481e4321ae52e74496cf904..90ca0272a70e9139b8d998e49ed43b7c8ebf630e 100755 (executable)
@@ -24,6 +24,7 @@ ts_scsi_debug_init dev_size_mb=50
 
 ts_log "Create partitions"
 $TS_CMD_FDISK ${TS_DEVICE} &> /dev/null <<EOF
+o
 n
 p
 1