diff options
author | Thomas Haller <thaller@redhat.com> | 2023-09-07 23:13:43 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-08 11:41:02 +0200 |
commit | 20776aa335a7835a12a06c36b1a0d816e837a7c8 (patch) | |
tree | 6797d448b0452f0473168af5f870ca8ffc926131 /tests/shell/testcases/listing/0020flowtable_0 | |
parent | 6de0a8f29ddb0be4dfaa5f86bc92433cf1713bc6 (diff) |
tests/shell: return 77/skip for tests that fail to create dummy device
There are some existing tests, that skip operation when they fail to
create a dummy interface. Use the new exit code 77 to indicate
"SKIPPED".
I wonder why creating a dummy device would ever fail and why we don't
just fail the test altogether in that case. But the patch does not
change that.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/listing/0020flowtable_0')
-rwxr-xr-x | tests/shell/testcases/listing/0020flowtable_0 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/testcases/listing/0020flowtable_0 b/tests/shell/testcases/listing/0020flowtable_0 index 47488d8e..210289d7 100755 --- a/tests/shell/testcases/listing/0020flowtable_0 +++ b/tests/shell/testcases/listing/0020flowtable_0 @@ -43,7 +43,7 @@ EXPECTED3="table ip filter { ip link add d0 type dummy || { echo "Skipping, no dummy interface available" - exit 0 + exit 77 } trap "ip link del d0" EXIT |