]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
TEST-70: sort interfaces for validation
authorHarald Hoyer <harald@redhat.com>
Mon, 9 Oct 2017 10:50:25 +0000 (12:50 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 9 Oct 2017 10:53:40 +0000 (12:53 +0200)
test/TEST-70-BONDBRIDGETEAMVLAN/client-init.sh
test/TEST-70-BONDBRIDGETEAMVLAN/test.sh

index 2018393b6ef61ef39e2040c83b23baf292bebc33..8c33ff0f2629300d2d852508c85d40a665d9732f 100755 (executable)
@@ -10,7 +10,7 @@ echo "made it to the rootfs! Powering down."
 
 (
     echo OK
-    ip -o -4 address show scope global | while read n if rest; do echo $if;done
+    ip -o -4 address show scope global | while read n if rest; do echo $if;done | sort
     for i in /run/initramfs/state/etc/sysconfig/network-scripts/ifcfg-*; do
        echo $i
        grep -v 'UUID=' $i
index 6b4e10dfe6ef8833e523f3e8e2cc82cd398942fd..277bbd01b3dc50a413d6940a6dcbe4268b3e0a5a 100755 (executable)
@@ -235,7 +235,7 @@ test_setup() {
         export initdir="$TESTDIR"/mnt/nfs/client
         . "$basedir"/dracut-init.sh
         inst_multiple sh shutdown poweroff stty cat ps ln ip \
-            mount dmesg mkdir cp ping grep ls
+            mount dmesg mkdir cp ping grep ls sort
         for _terminfodir in /lib/terminfo /etc/terminfo /usr/share/terminfo; do
             [[ -f ${_terminfodir}/l/linux ]] && break
         done