]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (losetup) use long options to improve test coverage report
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 22 Jan 2026 03:22:36 +0000 (22:22 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 30 Jan 2026 01:08:36 +0000 (20:08 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
tests/ts/losetup/losetup

index 9bae618664346723fd3fe660bef36217d02b354e..f490013f7d39295acb5e3b4d51a12dcfc7c7254a 100755 (executable)
@@ -47,7 +47,7 @@ if [ -z "$LODEV" ]; then
        ts_log "Failed to create loop device"
 fi
 lo_print $LODEV >> $TS_OUTPUT
-$TS_CMD_LOSETUP -d $LODEV
+$TS_CMD_LOSETUP --detach $LODEV
 ts_finalize_subtest
 
 ts_init_subtest "file-offset"
@@ -56,7 +56,7 @@ if [ -z "$LODEV" ]; then
        ts_log "Failed to create loop device"
 fi
 lo_print $LODEV >> $TS_OUTPUT
-$TS_CMD_LOSETUP -d $LODEV
+$TS_CMD_LOSETUP --detach $LODEV
 ts_finalize_subtest