xref: /openbmc/linux/tools/testing/selftests/net/run_netsocktests (revision 8f8d5745bb520c76b81abef4a2cb3023d0313bfd)
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0
3
4echo "--------------------"
5echo "running socket test"
6echo "--------------------"
7./socket
8if [ $? -ne 0 ]; then
9	echo "[FAIL]"
10	exit 1
11else
12	echo "[PASS]"
13fi
14