aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api-test
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-api-test')
-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'