1 #!/bin/sh 1 #!/bin/sh 2 # SPDX-License-Identifier: GPL-2.0 << 3 2 4 echo "--------------------" 3 echo "--------------------" 5 echo "running socket test" 4 echo "running socket test" 6 echo "--------------------" 5 echo "--------------------" 7 ./socket 6 ./socket 8 if [ $? -ne 0 ]; then 7 if [ $? -ne 0 ]; then 9 echo "[FAIL]" 8 echo "[FAIL]" 10 exit 1 9 exit 1 11 else 10 else 12 echo "[PASS]" 11 echo "[PASS]" 13 fi 12 fi
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.