]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-17-UDEV: drop needless numbering
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 7 May 2025 19:07:04 +0000 (04:07 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 8 May 2025 23:54:26 +0000 (08:54 +0900)
The subtest was renamed from TEST-17-UDEV.10.sh.
Let's also drop the numbering from function name and interface name.

Follow-up for 40959dcc028a6884fbea00c11d89217a77716d4d.

test/units/TEST-17-UDEV.sanity-check.sh

index 125a5946f729e77f7a8d130602d8278dd0d26f06..004107eded9310a76d0d7b60c4c6d84393e09326 100755 (executable)
@@ -9,7 +9,7 @@ set -o pipefail
 # Coverage test for udevadm
 
 # shellcheck disable=SC2317
-cleanup_17_10() {
+cleanup() {
     set +e
 
     losetup -d "$loopdev"
@@ -19,9 +19,9 @@ cleanup_17_10() {
 }
 
 # Set up some test devices
-trap cleanup_17_10 EXIT
+trap cleanup EXIT
 
-netdev=dummy17.10
+netdev=hoge
 ip link add $netdev type dummy
 
 blk="$(mktemp)"