From e439a16c086ad3d6eb215daebf6eec76f90638e0 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 26 Jul 2019 14:59:07 -0700 Subject: ifconfig.test: actually skip tests if dummy0 up fails. Rather than just claim we're doing so. Android cloud emulators don't have dummy0 like regular devices do. --- tests/ifconfig.test | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/ifconfig.test b/tests/ifconfig.test index d71f3576..c189ccaf 100755 --- a/tests/ifconfig.test +++ b/tests/ifconfig.test @@ -35,6 +35,8 @@ modprobe dummy 2>/dev/null if ! ifconfig dummy0 up 2>/dev/null then echo "$SHOWSKIP: ifconfig dummy0 up failed" + return 2>/dev/null + exit fi # Test Description: Disable the dummy0 interface -- cgit v1.2.3