Logo
Explore Help
Register Sign In
leandrof/linux
1
0
Fork 0
You've already forked linux
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
422d8dc6fd3afecd66bd6acfcd73a2d53e338ff3
linux/tools/testing/selftests/net/run_netsocktests

13 lines
164 B
Plaintext
Raw Normal View History

selftests: do not require bash to run netsocktests testcase Nothing in this minimal script seems to require bash. We often run these tests on embedded devices where the only shell available is the busybox ash. Use sh instead. Signed-off-by: Rolf Eike Beer <eb@emlix.com> Cc: stable@vger.kernel.org Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-12-14 11:59:57 +01:00
#!/bin/sh
net: Add socket() system call self test. Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-19 14:49:44 -04:00
echo "--------------------"
echo "running socket test"
echo "--------------------"
./socket
if [ $? -ne 0 ]; then
echo "[FAIL]"
else
echo "[PASS]"
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 576ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API