From 1f67cf94ec2df0d30349f033c777495b80b41484 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 20 Feb 2024 19:04:03 +0100 Subject: test-snapshot: Fix a test case This was accidentally using testfailure instead of testfailureequal, hence trying to run the output string as a command :( --- test/integration/test-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-70-g09d2