From a54577f6c80cf2e6e0edcd75ee8e71b25ab986ea Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 9 Feb 2017 13:30:03 +0100 Subject: [PATCH] rngd also needs sudo for travis --- dev/tests/run_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index 1047292..512f966 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -2,7 +2,7 @@ #TODO Encrypted Pull runs on F25 fail for decryption -## obackup basic tests suite 2017020902 +## obackup basic tests suite 2017020903 OBACKUP_DIR="$(pwd)" OBACKUP_DIR=${OBACKUP_DIR%%/dev*} @@ -134,7 +134,7 @@ EOF # Setup fast entropy if type rngd > /dev/null 2>&1; then - rngd -r /dev/urandom + $SUDO_CMD rngd -r /dev/urandom else echo "No rngd support" fi