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