parted/tests/simple/run_tests.sh
Brian C. Lane 4a98456ce3 gating: Switch test to run parted directly
Tests should run the installed package, not the source. So use the test
from RHEL 8.5.0 instead of from Fedora.

Resolves: rhbz#1968763
2021-06-08 15:49:50 -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