summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-keep-downloaded-pkgs2
-rwxr-xr-xtest/integration/test-cve-2019-3462-dequote-injection4
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