]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-authentication-basic
Merge branch 'portability/freebsd'
[apt.git] / test / integration / test-authentication-basic
index 9a15c760429bf1f98ef2e0c44f0f7689677954c8..3bfd076ce1a77478045eab98e8715ff38a1a35ae 100755 (executable)
@@ -30,7 +30,7 @@ testauthsuccess() {
        # lets see if got/retains acceptable permissions
        if [ -n "$AUTHCONF" ]; then
                if [ "$(id -u)" = '0' ]; then
-                       testfilestats "$AUTHCONF" '%U:%G:%a' '=' "_apt:root:600"
+                       testfilestats "$AUTHCONF" '%U:%G:%a' '=' "_apt:$(id -gn):600"
                else
                        testfilestats "$AUTHCONF" '%U:%G:%a' '=' "${TEST_DEFAULT_USER}:${TEST_DEFAULT_GROUP}:600"
                fi