[PATCH nft] tests: build: no need for root to run build tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Plain user is just fine.

Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
---
 tests/build/run-tests.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/build/run-tests.sh b/tests/build/run-tests.sh
index 6ac2ef4709d9..3c4fa347d02e 100755
--- a/tests/build/run-tests.sh
+++ b/tests/build/run-tests.sh
@@ -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=../..
-- 
2.11.0




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux