aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2015-12-22 13:23:18 -0700
committerEd Warnicke <eaw@cisco.com>2015-12-22 19:43:43 -0700
commit2d8862c8f6ed0d1db03c82a191dcdd3fe8b6380a (patch)
treec971230abfe90bf5819e892c5de3dbf5ba78b9e0
parent2c29d75021d684559146e656aac85f0c14ffb5ab (diff)
Restore vpe-api-test/scripts/vppctl
Change-Id: I13b472dbf4a95f417ef28efcf8e740dbdd201f7e Signed-off-by: Ed Warnicke <eaw@cisco.com>
-rw-r--r--vpp-api-test/Makefile.am1
-rw-r--r--vpp-api-test/scripts/vppctl2
2 files changed, 3 insertions, 0 deletions
diff --git a/vpp-api-test/Makefile.am b/vpp-api-test/Makefile.am
index a818d831b28..ae071bcebe0 100644
--- a/vpp-api-test/Makefile.am
+++ b/vpp-api-test/Makefile.am
@@ -32,3 +32,4 @@ vpe_json_test_LDADD = -lvppinfra -lm
nobase_include_HEADERS = vat/vat.h vat/json_format.h
+dist_bin_SCRIPTS = scripts/vppctl
diff --git a/vpp-api-test/scripts/vppctl b/vpp-api-test/scripts/vppctl
new file mode 100644
index 00000000000..b789493f2be
--- /dev/null
+++ b/vpp-api-test/scripts/vppctl
@@ -0,0 +1,2 @@
+#!/bin/bash
+echo exec ${@} | vpe_api_test | sed 's/vat# //g'