blob: e5e051ec5c5379cb74a6833a1b7a114c167b1279 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# awlsimcli tests
sh_test()
{
local interpreter="$1"
cd "$rootdir" || die "Failed to change to rootdir '$rootdir'"
"$interpreter" ./awlsimcli -h >/dev/null ||\
test_failed "Call to awlsimcli -h failed"
"$interpreter" ./awlsimcli --help >/dev/null ||\
test_failed "Call to awlsimcli -h failed"
"$interpreter" ./awlsimcli -I dummy >/dev/null ||\
test_failed "Call to awlsimcli -I dummy failed"
"$interpreter" ./awlsimcli --hardware-info dummy >/dev/null ||\
test_failed "Call to awlsimcli --hardware-info dummy failed"
"$interpreter" ./awlsimcli --list-sfc >/dev/null ||\
test_failed "Call to awlsimcli --list-sfc failed"
"$interpreter" ./awlsimcli --list-sfc-verbose >/dev/null ||\
test_failed "Call to awlsimcli --list-sfc-verbose failed"
"$interpreter" ./awlsimcli --list-sfb >/dev/null ||\
test_failed "Call to awlsimcli --list-sfb failed"
"$interpreter" ./awlsimcli --list-sfb-verbose >/dev/null ||\
test_failed "Call to awlsimcli --list-sfb-verbose failed"
}
|