summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-02-20 19:04:03 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2024-02-20 19:04:03 +0100
commit1f67cf94ec2df0d30349f033c777495b80b41484 (patch)
treee0270cdcb4bc9646e8246891826214f3c7135afe
parente2949fc463f9e087978b072c82b11860ee02fdb6 (diff)
test-snapshot: Fix a test case
This was accidentally using testfailure instead of testfailureequal, hence trying to run the output string as a command :(
-rwxr-xr-xtest/integration/test-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-snapshot b/test/integration/test-snapshot
index f7d7e6a05..7c7725ba3 100755
--- a/test/integration/test-snapshot
+++ b/test/integration/test-snapshot
@@ -249,7 +249,7 @@ testsuccessequal "'https://snapshot.ubuntu.com/ubuntu/BANANA/dists/mantic/InRele
'http://archive.ubuntu.com/ubuntu/dists/mantic/main/binary-all/Packages.xz' archive.ubuntu.com_ubuntu_dists_mantic_main_binary-all_Packages 0
'http://archive.ubuntu.com/ubuntu/dists/mantic/main/i18n/Translation-en.xz' archive.ubuntu.com_ubuntu_dists_mantic_main_i18n_Translation-en 0 " aptget update --print-uris -o Dir::Etc::SourceList=archive.list -o Dir::Etc::SourceParts=/dev/null -o "Acquire::Snapshots::URI::Host::.archive.ubuntu.com"="https://cc.snapshot.ubuntu.com/@PATH@/@SNAPSHOTID@/"
-testfailure "E: Snapshots not supported for http://archive.ubuntu.com/ubuntu/ mantic
+testfailureequal "E: Snapshots not supported for http://archive.ubuntu.com/ubuntu/ mantic
E: The list of sources could not be read." aptget update --print-uris -o Dir::Etc::SourceList=archive.list -o Dir::Etc::SourceParts=/dev/null -o "Acquire::Snapshots::URI::Host::archive.ubuntu.com"="no"
msgmsg "Testing host based-seeds: PPA"