TEST-70: sort interfaces for validation

master
Harald Hoyer 2017-10-09 12:50:25 +02:00
parent bf5c53a33f
commit 0d947530b2
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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