]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test/TEST-17-UDEV: use default image
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 11 Jun 2021 06:42:04 +0000 (08:42 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 12 Jun 2021 09:19:04 +0000 (11:19 +0200)
No need to build a separate 700MB image to save 3080 bytes in the default image.

test/TEST-17-UDEV/test.sh
test/test-functions

index 446f4a83db5defac6ea1f6a857ee53aaa5c96955..f2c5f3c98312c3210d01be7f24060ebc9af2a129 100755 (executable)
@@ -2,7 +2,7 @@
 set -e
 
 TEST_DESCRIPTION="UDEV"
-IMAGE_NAME="udev"
+IMAGE_NAME="default"
 TEST_NO_NSPAWN=1
 
 # shellcheck source=test/test-functions
@@ -10,11 +10,4 @@ TEST_NO_NSPAWN=1
 
 QEMU_TIMEOUT=800
 
-test_append_files() {
-    (
-        instmods dummy
-        generate_module_dependencies
-    )
-}
-
 do_test "$@"
index 3a33eacfedebc36d6598cf247c1ca6f227de8952..aada33611c50166875e43d0d9ad87661070adb6a 100644 (file)
@@ -863,6 +863,7 @@ install_modules() {
 
     instmods loop
     instmods vfat
+    instmods dummy
 
     if [[ "$LOOKS_LIKE_SUSE" ]]; then
         instmods ext4