summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-08-30 18:09:24 -0700
committerEd Warnicke <eaw@cisco.com>2016-08-30 18:09:24 -0700
commitf53db2a6c2a7e511716018aa37bc8ae8d0c18156 (patch)
tree5cf1f5e0b7d800e9d5303bec333128331722545a
parent5a4e2dde94262a6f93c0c87be81a10317f2ae426 (diff)
Fix for vppctl to suppress "load_one_plugin:63: Loaded plugin:" msgs
Change-Id: I06fcb024036b48a6401d2865a2181b122cb32108 Signed-off-by: Ed Warnicke <eaw@cisco.com>
-rwxr-xr-xvpp-api-test/scripts/vppctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpp-api-test/scripts/vppctl b/vpp-api-test/scripts/vppctl
index f4062b64f20..c348fff6c0b 100755
--- a/vpp-api-test/scripts/vppctl
+++ b/vpp-api-test/scripts/vppctl
@@ -16,14 +16,14 @@ while [[ $# -gt 0 ]]; do
done
if [ "x${CMD_ARGS}" != "x" ]; then
- echo exec ${CMD_ARGS} | vpp_api_test $PREFIX_ARGS | sed 's/vat# //g'
+ echo exec ${CMD_ARGS} | vpp_api_test $PREFIX_ARGS 2> >(grep -v "^load_one_plugin:")| sed 's/vat# //g'
else
echo -n "vpp# "
while read CMD; do
if [ "x$CMD" == "xexit" ]; then
exit
elif [ "x$CMD" != "x" ]; then
- echo exec $CMD | vpp_api_test $PREFIX_ARGS| sed 's/vat# //g'
+ echo exec $CMD | vpp_api_test $PREFIX_ARGS 2> >(grep -v "^load_one_plugin:")| sed 's/vat# //g'
fi
echo -n "vpp# "
done