Add small changes suggested by @Syphdias

pull/22/head
Dominik Ritter 6 years ago
parent 1049bca473
commit 0dbfa4e1e4

@ -12,7 +12,6 @@ function setUp() {
P9K_HOME=$(pwd) P9K_HOME=$(pwd)
FOLDER=/tmp/powerlevel9k-test FOLDER=/tmp/powerlevel9k-test
mkdir -p $FOLDER mkdir -p $FOLDER
mkdir $FOLDER/bin
mkdir $FOLDER/sbin mkdir $FOLDER/sbin
} }
@ -152,7 +151,7 @@ INNER
if [[ "\$*" =~ 'show ${INTERFACE1}' ]]; then if [[ "\$*" =~ 'show ${INTERFACE1}' ]]; then
cat <<INNER cat <<INNER
3: ${INTERFACE1}: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 2: ${INTERFACE1}: <BROADCAST,MULTICAST,UP,LOWER_UP> 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 inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
valid_lft forever preferred_lft forever valid_lft forever preferred_lft forever
INNER INNER

@ -12,7 +12,6 @@ function setUp() {
P9K_HOME=$(pwd) P9K_HOME=$(pwd)
FOLDER=/tmp/powerlevel9k-test FOLDER=/tmp/powerlevel9k-test
mkdir -p $FOLDER mkdir -p $FOLDER
mkdir $FOLDER/bin
mkdir $FOLDER/sbin mkdir $FOLDER/sbin
cd $FOLDER cd $FOLDER
@ -124,7 +123,7 @@ INNER
if [[ "\$*" =~ 'show ${INTERFACE1}' ]]; then if [[ "\$*" =~ 'show ${INTERFACE1}' ]]; then
cat <<INNER cat <<INNER
3: ${INTERFACE1}: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 2: ${INTERFACE1}: <BROADCAST,MULTICAST,UP,LOWER_UP> 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 inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
valid_lft forever preferred_lft forever valid_lft forever preferred_lft forever
INNER INNER

@ -12,7 +12,6 @@ function setUp() {
P9K_HOME=$(pwd) P9K_HOME=$(pwd)
FOLDER=/tmp/powerlevel9k-test FOLDER=/tmp/powerlevel9k-test
mkdir -p $FOLDER mkdir -p $FOLDER
mkdir $FOLDER/bin
mkdir $FOLDER/sbin mkdir $FOLDER/sbin
} }
@ -106,7 +105,7 @@ INNER
if [[ "\$*" =~ 'show ${INTERFACE1}' ]]; then if [[ "\$*" =~ 'show ${INTERFACE1}' ]]; then
cat <<INNER cat <<INNER
3: ${INTERFACE1}: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 2: ${INTERFACE1}: <BROADCAST,MULTICAST,UP,LOWER_UP> 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 inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
valid_lft forever preferred_lft forever valid_lft forever preferred_lft forever
INNER INNER

Loading…
Cancel
Save