]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-633350-do-not-kill-last-char-in-Release
test: Use :$(id -gn) instead of :root (when run as root)
[apt.git] / test / integration / test-bug-633350-do-not-kill-last-char-in-Release
1 #!/bin/sh
2 set -e
3
4 TESTDIR="$(readlink -f "$(dirname "$0")")"
5 . "$TESTDIR/framework"
6 setupenvironment
7 configarchitecture 'amd64'
8
9 insertpackage 'unstable' 'cool' 'amd64' '1.0'
10
11 export APT_DONT_SIGN='InRelease'
12 setupaptarchive --no-update
13
14 echo 'NotAutomatic: yes' >> aptarchive/dists/unstable/Release
15 signreleasefiles
16 testsuccess aptget update