OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
171a487
)
selftests: fib_tests: Allow user to run a specific test
author
David Ahern
<dsahern@gmail.com>
Tue, 13 Mar 2018 15:29:40 +0000
(08:29 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 16 Mar 2018 15:28:39 +0000
(11:28 -0400)
Allow a user to run just a specific fib test by setting the TEST
environment variable.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_tests.sh
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/net/fib_tests.sh
b/tools/testing/selftests/net/fib_tests.sh
index
9532544
..
cfdeb35
100755
(executable)
--- a/
tools/testing/selftests/net/fib_tests.sh
+++ b/
tools/testing/selftests/net/fib_tests.sh
@@
-392,9
+392,13
@@
fib_carrier_test()
fib_test()
{
- fib_unreg_test
- fib_down_test
- fib_carrier_test
+ if [ -n "$TEST" ]; then
+ eval $TEST
+ else
+ fib_unreg_test
+ fib_down_test
+ fib_carrier_test
+ fi
}
if [ "$(id -u)" -ne 0 ];then