From: Benjamin Drung Date: Sat, 7 Feb 2026 22:56:14 +0000 (+0100) Subject: test: rename *_root to *_rootfs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2b4592f36201f9b8af99f76e8e582b0d9a429e5;p=thirdparty%2Fdracut-ng.git test: rename *_root to *_rootfs Rename the `*_root` functions to `*_rootfs` since those functions build root file systems. --- diff --git a/test/TEST-72-NBD/test.sh b/test/TEST-72-NBD/test.sh index fc4d80b80..2b90200d3 100755 --- a/test/TEST-72-NBD/test.sh +++ b/test/TEST-72-NBD/test.sh @@ -171,7 +171,7 @@ client_run() { } -make_encrypted_root() { +make_encrypted_rootfs() { rm -fr "$TESTDIR"/overlay # Create what will eventually be our root filesystem onto an overlay build_client_rootfs "$TESTDIR/overlay/source" @@ -202,7 +202,7 @@ make_encrypted_root() { grep -F -a -m 1 ID_FS_UUID "$TESTDIR"/marker.img > "$TESTDIR"/luks.uuid } -make_client_root() { +make_client_rootfs() { build_client_rootfs "$TESTDIR/client-rootfs" inst_multiple ip inst_init ./client-init.sh "$TESTDIR"/client-rootfs @@ -211,7 +211,7 @@ make_client_root() { rm -fr "$TESTDIR"/client-rootfs } -make_server_root() { +make_server_rootfs() { rm -fr "$TESTDIR"/server-rootfs cat > /tmp/config << EOF @@ -247,9 +247,9 @@ EOF } test_setup() { - make_encrypted_root - make_client_root - make_server_root + make_encrypted_rootfs + make_client_rootfs + make_server_rootfs # shellcheck source=$TESTDIR/luks.uuid . "$TESTDIR"/luks.uuid