]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test: rename *_root to *_rootfs
authorBenjamin Drung <benjamin.drung@canonical.com>
Sat, 7 Feb 2026 22:56:14 +0000 (23:56 +0100)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sun, 8 Feb 2026 00:44:12 +0000 (19:44 -0500)
Rename the `*_root` functions to `*_rootfs` since those functions build
root file systems.

test/TEST-72-NBD/test.sh

index fc4d80b804cced1293d624151dcbb6a34b91c04e..2b90200d32fe5b90e2122adf6b0ef4d99145cb6c 100755 (executable)
@@ -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