File: internaltest-monitor.sh

package info (click to toggle)
nftables 0.9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 8,828 kB
  • sloc: ansic: 38,745; sh: 9,154; yacc: 4,517; python: 1,548; lex: 963; makefile: 266
file content (14 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# Run the internal tests of nftables (monitor)

# The testsuite requires kernel at least 5.x
if [ "$(uname -r | cut -d. -f1)" -lt 5 ] ; then
	echo "W: this testsuite is likely to produce many fails because of old kernel, ending now"
	exit 0
fi

set -e
ln -s $(which nft) src/nft
cd tests/monitor
./run-tests.sh -d