diff options
| author | Max Coplan <mchcopl@gmail.com> | 2019-11-20 16:03:39 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-05-19 18:29:45 +0200 |
| commit | d493545484fbb100e559e39618b30a3b3a3526d1 (patch) | |
| tree | 96194abb303587eba773e2bd892f1c93d54ee337 /test/integration | |
| parent | 529d34728126ad19f4729ddf9bf95420b343378b (diff) | |
💬 Recommend use of `apt update` over `apt-get update`
Diffstat (limited to 'test/integration')
| -rwxr-xr-x | test/integration/test-apt-keep-downloaded-pkgs | 2 | ||||
| -rwxr-xr-x | test/integration/test-cve-2019-3462-dequote-injection | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/test-apt-keep-downloaded-pkgs b/test/integration/test-apt-keep-downloaded-pkgs index c5f62954c..4938aefdb 100755 --- a/test/integration/test-apt-keep-downloaded-pkgs +++ b/test/integration/test-apt-keep-downloaded-pkgs @@ -30,7 +30,7 @@ changetowebserver testsuccess aptget update # see if no-download really doesn't download the package -testfailuremsg 'E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?' aptget install pkg2 --no-download -y +testfailuremsg 'E: Unable to fetch some archives, maybe run apt update or try with --fix-missing?' aptget install pkg2 --no-download -y testsuccess test -f aptarchive/pool/pkg2_1.0_all.deb testfailure test -f rootdir/var/cache/apt/archives/pkg2_1.0_all.deb diff --git a/test/integration/test-cve-2019-3462-dequote-injection b/test/integration/test-cve-2019-3462-dequote-injection index 23cef4fae..050425458 100755 --- a/test/integration/test-cve-2019-3462-dequote-injection +++ b/test/integration/test-cve-2019-3462-dequote-injection @@ -37,7 +37,7 @@ After this operation, 11.3 kB of additional disk space will be used. Err:1 http://localhost:${APTHTTPPORT} unstable/main all alpha all 1 $ERRMSG E: Failed to fetch $BADFETCH $ERRMSG -E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?" aptget install alpha "$@" +E: Unable to fetch some archives, maybe run apt update or try with --fix-missing?" aptget install alpha "$@" } runwithbaduri "beeta_1_all.deb%0a%0a201%20URI%20Done%0aURI:%20http://localhost:${APTHTTPPORT}/pool/beeta_1_all.deb%0aFilename:%20${TMPWORKINGDIRECTORY}/rootdir/var/cache/apt/archives/partial/alpha_1_all.deb%0aSize:%2020672%0aLast-Modified:%20Fri,%2018%20Jan%202019%2009:52:02%20+0000%0aSHA256-Hash:%20${SHA256}%0aChecksum-FileSize-Hash:%2012345%0a%0a%0a" 'SECURITY: URL redirect target contains control characters, rejecting.' -o Acquire::Send-URI-Encoded=false rm -rf rootdir/var/lib/apt/lists @@ -77,4 +77,4 @@ E: Failed to fetch http://localhost:${APTHTTPPORT}/pool/beeta_1_all.deb Hash Su - SHA256:DEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF - Filesize:12345 [weak] Last modification reported: Fri, 18 Jan 2019 09:52:02 +0000 -E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?" aptget install alpha +E: Unable to fetch some archives, maybe run apt update or try with --fix-missing?" aptget install alpha |
