Harald Hoyer afa7aa
From 0d947530b2b8928b5b2040c2e56cb966a5ea941f Mon Sep 17 00:00:00 2001
Harald Hoyer afa7aa
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer afa7aa
Date: Mon, 9 Oct 2017 12:50:25 +0200
Harald Hoyer afa7aa
Subject: [PATCH] TEST-70: sort interfaces for validation
Harald Hoyer afa7aa
Harald Hoyer afa7aa
---
Harald Hoyer afa7aa
 test/TEST-70-BONDBRIDGETEAMVLAN/client-init.sh | 2 +-
Harald Hoyer afa7aa
 test/TEST-70-BONDBRIDGETEAMVLAN/test.sh        | 2 +-
Harald Hoyer afa7aa
 2 files changed, 2 insertions(+), 2 deletions(-)
Harald Hoyer afa7aa
Harald Hoyer afa7aa
diff --git a/test/TEST-70-BONDBRIDGETEAMVLAN/client-init.sh b/test/TEST-70-BONDBRIDGETEAMVLAN/client-init.sh
Harald Hoyer afa7aa
index 2018393b..8c33ff0f 100755
Harald Hoyer afa7aa
--- a/test/TEST-70-BONDBRIDGETEAMVLAN/client-init.sh
Harald Hoyer afa7aa
+++ b/test/TEST-70-BONDBRIDGETEAMVLAN/client-init.sh
Harald Hoyer afa7aa
@@ -10,7 +10,7 @@ echo "made it to the rootfs! Powering down."
Harald Hoyer afa7aa
 
Harald Hoyer afa7aa
 (
Harald Hoyer afa7aa
     echo OK
Harald Hoyer afa7aa
-    ip -o -4 address show scope global | while read n if rest; do echo $if;done
Harald Hoyer afa7aa
+    ip -o -4 address show scope global | while read n if rest; do echo $if;done | sort
Harald Hoyer afa7aa
     for i in /run/initramfs/state/etc/sysconfig/network-scripts/ifcfg-*; do
Harald Hoyer afa7aa
 	echo $i
Harald Hoyer afa7aa
 	grep -v 'UUID=' $i
Harald Hoyer afa7aa
diff --git a/test/TEST-70-BONDBRIDGETEAMVLAN/test.sh b/test/TEST-70-BONDBRIDGETEAMVLAN/test.sh
Harald Hoyer afa7aa
index 6b4e10df..277bbd01 100755
Harald Hoyer afa7aa
--- a/test/TEST-70-BONDBRIDGETEAMVLAN/test.sh
Harald Hoyer afa7aa
+++ b/test/TEST-70-BONDBRIDGETEAMVLAN/test.sh
Harald Hoyer afa7aa
@@ -235,7 +235,7 @@ test_setup() {
Harald Hoyer afa7aa
         export initdir="$TESTDIR"/mnt/nfs/client
Harald Hoyer afa7aa
         . "$basedir"/dracut-init.sh
Harald Hoyer afa7aa
         inst_multiple sh shutdown poweroff stty cat ps ln ip \
Harald Hoyer afa7aa
-            mount dmesg mkdir cp ping grep ls
Harald Hoyer afa7aa
+            mount dmesg mkdir cp ping grep ls sort
Harald Hoyer afa7aa
         for _terminfodir in /lib/terminfo /etc/terminfo /usr/share/terminfo; do
Harald Hoyer afa7aa
             [[ -f ${_terminfodir}/l/linux ]] && break
Harald Hoyer afa7aa
         done
Harald Hoyer afa7aa