parted/tests/scripts/run_tests.sh

9 lines
183 B
Bash
Raw Normal View History

2023-03-14 21:55:04 +00:00
#!/bin/sh
set -eux
# make a small disk image
fallocate -l 100M ./disk.img
parted -s ./disk.img mklabel gpt
parted -s ./disk.img 'mkpart root 1MiB 100%'
parted -m -s ./disk.img u s p