tests: Restore missing parted tests
This commit is contained in:
parent
0daf2d6f22
commit
6176790223
8
tests/scripts/run_tests.sh
Executable file
8
tests/scripts/run_tests.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/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
|
12
tests/tests.yml
Normal file
12
tests/tests.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
# Run a simple parted test
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
|
||||
tests:
|
||||
- simple:
|
||||
dir: scripts
|
||||
run: ./run_tests.sh
|
Loading…
Reference in New Issue
Block a user