blob: 5612c99034f30f42aa00b41be3fdff98a4ac49ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
socket="${TEST_VAR_DIR}/test_sock.$$"
remove_socket ()
{
rm -f "$socket"
}
test_cleanup remove_socket
if [ $EUID -eq 0 ] ; then
ok "../common/system_linux.c:607 interface 'fake' not found"
else
ok "../common/system_linux.c:601 failed to open raw socket"
fi
unit_test porting_tests --socket=${socket}
|