parted/tests/scripts/run_tests.sh
2023-03-14 14:55:04 -07:00

9 lines
183 B
Bash
Executable File

#!/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