]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: build: no need for root to run build tests
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 29 Aug 2018 11:08:32 +0000 (13:08 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 29 Aug 2018 11:08:32 +0000 (13:08 +0200)
Plain user is just fine.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/build/run-tests.sh

index 6ac2ef4709d9b2e3900e2c360e4207eb7ed0e16d..3c4fa347d02e1a19ff63c5afee18ab07ae6d25d5 100755 (executable)
@@ -1,10 +1,5 @@
 #!/bin/bash
 
-if [ "$(id -u)" !=  "0" ]  ; then
-        echo "Run as root user"
-        exit 1
-fi
-
 log_file="`pwd`/tests.log"
 tarball="nftables-0.8.1.tar.bz2"
 dir=../..