summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2023-02-27 14:01:27 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2023-02-27 14:01:52 +0100
commit0899b69b2b613f8b28e270f49d8a2fd23cbfbd77 (patch)
tree3021a6d05bce16ecb6b29b7ef394059f3c697652 /test
parentec73fd0855edb53c5325d711cbb09225dd182d83 (diff)
test-apt-get-update-sourceslist-warning: Fix permissions
This test did not work with umask 0002
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-get-update-sourceslist-warning2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-apt-get-update-sourceslist-warning b/test/integration/test-apt-get-update-sourceslist-warning
index 60c8d7308..02e1ccb29 100755
--- a/test/integration/test-apt-get-update-sourceslist-warning
+++ b/test/integration/test-apt-get-update-sourceslist-warning
@@ -21,11 +21,11 @@ Architectures: amd64
Components: main contrib non-free non-free-firmware
Description: Debian x.y Bookworm - Not Released
EOF
-chmod 644 rootdir/var/lib/apt/lists/example.org_debian_dists_bookworm_Release
touch rootdir/var/lib/apt/lists/example.org_debian_dists_bookworm_main_binary-amd64_Packages
touch rootdir/var/lib/apt/lists/example.org_debian_dists_bookworm_contrib_binary-amd64_Packages
touch rootdir/var/lib/apt/lists/example.org_debian_dists_bookworm_non-free_binary-amd64_Packages
touch rootdir/var/lib/apt/lists/example.org_debian_dists_bookworm_non-free-firmware_binary-amd64_Packages
+find rootdir/var/lib/apt/lists/ -type f -exec chmod 644 {} \;
NOTESURL='https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split'
BOILERPLATE='Reading package lists...