From 0dbfa4e1e4bfd65311403884168b7cddb17cdbdc Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Mon, 25 Feb 2019 18:22:59 +0100 Subject: [PATCH] Add small changes suggested by @Syphdias --- test/segments/ip.spec | 3 +-- test/segments/public_ip.spec | 3 +-- test/segments/vpn_ip.spec | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/test/segments/ip.spec b/test/segments/ip.spec index 2dce55f7..86819e19 100755 --- a/test/segments/ip.spec +++ b/test/segments/ip.spec @@ -12,7 +12,6 @@ function setUp() { P9K_HOME=$(pwd) FOLDER=/tmp/powerlevel9k-test mkdir -p $FOLDER - mkdir $FOLDER/bin mkdir $FOLDER/sbin } @@ -152,7 +151,7 @@ INNER if [[ "\$*" =~ 'show ${INTERFACE1}' ]]; then cat < mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 +2: ${INTERFACE1}: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0 valid_lft forever preferred_lft forever INNER diff --git a/test/segments/public_ip.spec b/test/segments/public_ip.spec index 2c7a00e9..19c3adbc 100755 --- a/test/segments/public_ip.spec +++ b/test/segments/public_ip.spec @@ -12,7 +12,6 @@ function setUp() { P9K_HOME=$(pwd) FOLDER=/tmp/powerlevel9k-test mkdir -p $FOLDER - mkdir $FOLDER/bin mkdir $FOLDER/sbin cd $FOLDER @@ -124,7 +123,7 @@ INNER if [[ "\$*" =~ 'show ${INTERFACE1}' ]]; then cat < mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 +2: ${INTERFACE1}: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0 valid_lft forever preferred_lft forever INNER diff --git a/test/segments/vpn_ip.spec b/test/segments/vpn_ip.spec index 870126e5..fe5b5fbc 100755 --- a/test/segments/vpn_ip.spec +++ b/test/segments/vpn_ip.spec @@ -12,7 +12,6 @@ function setUp() { P9K_HOME=$(pwd) FOLDER=/tmp/powerlevel9k-test mkdir -p $FOLDER - mkdir $FOLDER/bin mkdir $FOLDER/sbin } @@ -106,7 +105,7 @@ INNER if [[ "\$*" =~ 'show ${INTERFACE1}' ]]; then cat < mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 +2: ${INTERFACE1}: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0 valid_lft forever preferred_lft forever INNER