summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/run_netsocktests
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2013-03-20 15:07:56 -0400
committerDavid S. Miller <davem@davemloft.net>2013-03-20 15:07:56 -0400
commita6f68034de8a5784dfeabb337506254c80b4c8c6 (patch)
treeedb2cce97a947d80676d34fb89c2a0a218bc77f3 /tools/testing/selftests/net/run_netsocktests
parent4c1d8d0617a39c8325a7c2fd80ac14bf40fd8cc6 (diff)
net: Move selftests to common net/ subdirectory.
Suggested-by: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/run_netsocktests')
-rw-r--r--tools/testing/selftests/net/run_netsocktests12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/run_netsocktests b/tools/testing/selftests/net/run_netsocktests
new file mode 100644
index 000000000000..c09a682df56a
--- /dev/null
+++ b/tools/testing/selftests/net/run_netsocktests
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+echo "--------------------"
+echo "running socket test"
+echo "--------------------"
+./socket
+if [ $? -ne 0 ]; then
+ echo "[FAIL]"
+else
+ echo "[PASS]"
+fi
+