mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
d9e606e89f
Building custom images for each test takes a lot of time. Build the default one, and if the test needs incompatible changes just copy it and extend it instead.
14 lines
253 B
Bash
Executable File
14 lines
253 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
TEST_DESCRIPTION="/etc/machine-id testing"
|
|
IMAGE_NAME="badid"
|
|
TEST_NO_NSPAWN=1
|
|
|
|
. $TEST_BASE_DIR/test-functions
|
|
|
|
test_append_files() {
|
|
printf "556f48e837bc4424a710fa2e2c9d3e3c\ne3d\n" >$1/etc/machine-id
|
|
}
|
|
|
|
do_test "$@" 14
|