[ostree] Revert "tests: skip test-commit-sign.sh when not root"



commit acf228e3c81be91f86cd468401dd784a2246ae51
Author: Dan Nicholson <nicholson endlessm com>
Date:   Wed Jun 3 13:02:41 2015 -0700

    Revert "tests: skip test-commit-sign.sh when not root"
    
    This reverts commit d3545b0661f3247cd8c106e64a71052ce9952243. Since the
    test is now using the temporary copy of the gpg homedir, it is no longer
    owned by root.

 tests/test-commit-sign.sh |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/tests/test-commit-sign.sh b/tests/test-commit-sign.sh
index 886e824..2288d09 100755
--- a/tests/test-commit-sign.sh
+++ b/tests/test-commit-sign.sh
@@ -23,12 +23,6 @@ if ! ${CMD_PREFIX} ostree --version | grep -q -e '\+gpgme'; then
     exit 77
 fi
 
-# Skip the test when non-root as gpgme would not read files owned by
-# another user.
-if test "$(id -u)" != "0"; then
-    exit 77
-fi
-
 . $(dirname $0)/libtest.sh
 
 keyid="472CDAFA"


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