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