summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-20 23:36:48 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-20 23:36:48 -0500
commitea9dbd120e6a2e1df4bc9efdaed418a1548c25c0 (patch)
tree2488d5f8762dd8024dcefa5d1173cc35efedb99c
parent85ab4eb7302be954972db4113912aabead89a7b0 (diff)
downloadhorizon-ea9dbd120e6a2e1df4bc9efdaed418a1548c25c0.tar.gz
horizon-ea9dbd120e6a2e1df4bc9efdaed418a1548c25c0.tar.bz2
horizon-ea9dbd120e6a2e1df4bc9efdaed418a1548c25c0.tar.xz
horizon-ea9dbd120e6a2e1df4bc9efdaed418a1548c25c0.zip
tests: Update simulation spec for default keys
We don't use the old style keys by default any more, so we need to update the test to ensure it doesn't fail. Fixes: 85ab4eb730 ("hscript: Use mirror keys by default")
-rw-r--r--tests/spec/simulator_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/simulator_spec.rb b/tests/spec/simulator_spec.rb
index 8ccf98e..64ec338 100644
--- a/tests/spec/simulator_spec.rb
+++ b/tests/spec/simulator_spec.rb
@@ -319,7 +319,7 @@ mtu 9001
it "uses default keys when none are specified" do
use_fixture '0001-basic.installfile'
run_simulate
- expect(last_command_started.stdout).to include("cp /etc/apk/keys/packages@adelielinux.org.pub /target/etc/apk/keys/packages@adelielinux.org.pub")
+ expect(last_command_started.stdout).to match(/curl -L -o .* https:\/\/distfiles.adelielinux.org\/adelie\/keys/)
end
end
context "simulating 'svcenable' execution" do