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