Ed Warnicke | 2d8862c | 2015-12-22 13:23:18 -0700 | [diff] [blame] | 1 | #!/bin/bash |
Ed Warnicke | 7471c6d | 2016-01-18 10:12:53 -0700 | [diff] [blame^] | 2 | if [ $# -gt 0 ]; then |
3 | echo exec ${@} | vpe_api_test | sed 's/vat# //g' | ||||
4 | else | ||||
5 | echo -n "vpp# " | ||||
6 | while read CMD; do | ||||
7 | if [ $CMD == "exit" ]; then | ||||
8 | exit | ||||
9 | fi | ||||
10 | echo exec $CMD | vpe_api_test | sed 's/vat# //g' | ||||
11 | echo -n "vpp# " | ||||
12 | done | ||||
13 | fi |