rping.zsh: Various Updates
* Use $COLORS from common.zsh * Fix colorful output when run from a different script Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
e4434babcb
commit
fef564a570
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/zsh -e
|
#!/bin/zsh -e
|
||||||
|
source common.zsh
|
||||||
|
|
||||||
if [ "$#" -ne 3 ]; then
|
if [ "$#" -ne 3 ]; then
|
||||||
echo "Usage: $0 {rxe,siw} {client} {server}"
|
echo "Usage: $0 {rxe,siw} {client} {server}"
|
||||||
|
@ -10,8 +11,7 @@ CLIENT=$2
|
||||||
SERVER=$3
|
SERVER=$3
|
||||||
|
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
BIN=$HOME/bin
|
tags=($(FORCE_COLOR=1 python $COLORS/vm.py $CLIENT $SERVER))
|
||||||
tags=($(python $BIN/colors/vm.py $CLIENT $SERVER))
|
|
||||||
|
|
||||||
$BIN/rdma.zsh $RDMA $CLIENT $SERVER
|
$BIN/rdma.zsh $RDMA $CLIENT $SERVER
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue