From: Benjamin Drung Date: Sat, 7 Feb 2026 12:31:44 +0000 (+0100) Subject: test: remove duplicate overlay removal X-Git-Tag: 110~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64c5a97e7f3c23a2fc3fde74272ad825c2ae688;p=thirdparty%2Fdracut-ng.git test: remove duplicate overlay removal Removing `overlay` is done twice. Remove those duplicate calls. --- diff --git a/test/TEST-71-ISCSI-MULTI/test.sh b/test/TEST-71-ISCSI-MULTI/test.sh index 099fd9943..f40391192 100755 --- a/test/TEST-71-ISCSI-MULTI/test.sh +++ b/test/TEST-71-ISCSI-MULTI/test.sh @@ -164,7 +164,6 @@ test_setup() { rm -- "$TESTDIR"/marker.img # Create server root filesystem - rm -rf -- "$TESTDIR"/overlay call_dracut --tmpdir "$TESTDIR" \ --add-confdir test-root \ -a "$USE_NETWORK iscsi" \ diff --git a/test/TEST-72-NBD/test.sh b/test/TEST-72-NBD/test.sh index 41806c272..9b391e2f5 100755 --- a/test/TEST-72-NBD/test.sh +++ b/test/TEST-72-NBD/test.sh @@ -203,7 +203,6 @@ make_encrypted_root() { } make_client_root() { - rm -fr "$TESTDIR"/overlay build_client_rootfs "$TESTDIR/overlay/source" inst_multiple ip inst_init ./client-init.sh "$TESTDIR"/overlay/source @@ -252,9 +251,6 @@ test_setup() { make_client_root make_server_root - rm -fr "$TESTDIR"/overlay - # Make the test image - # shellcheck source=$TESTDIR/luks.uuid . "$TESTDIR"/luks.uuid