forked from Bitmessage/sysdeploy
fix: use sudo differently
- try to run the whole `drive` test in sudo instead of just individual commands
This commit is contained in:
parent
d34ff41d97
commit
2f16330445
|
@ -5,8 +5,8 @@ function test_partitioning()
|
|||
local img
|
||||
img=$(mktemp -u)
|
||||
dd if=/dev/zero of="$img" bs=1M seek=16384 count=0
|
||||
sudo setup_drive "$img"
|
||||
sudo parted -ms "$img" -- print
|
||||
setup_drive "$img"
|
||||
parted -ms "$img" -- print
|
||||
rm -f "$img"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user