From a1352fec9deb2f8aaaf2a61af0f5c83611962507 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 14 Apr 2015 08:53:48 -0400 Subject: [PATCH] tests: Fix root uid check in test-commit-sign.sh --- tests/test-commit-sign.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-commit-sign.sh b/tests/test-commit-sign.sh index 01a3a2ed..0db0048f 100755 --- a/tests/test-commit-sign.sh +++ b/tests/test-commit-sign.sh @@ -25,7 +25,7 @@ fi # Skip the test when non-root as gpgme would not read files owned by # another user. -if test "$(id -i)" != "0"; then +if test "$(id -u)" != "0"; then exit 77 fi