From 94fc4d46c3f2ebc179b768525a4aad73a655e083 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 1 Apr 2020 20:57:35 -0500 Subject: Tests: Update APK tests for --keys-dir --- tests/spec/simulator_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/spec/simulator_spec.rb b/tests/spec/simulator_spec.rb index c965d85..1206ab2 100644 --- a/tests/spec/simulator_spec.rb +++ b/tests/spec/simulator_spec.rb @@ -275,19 +275,19 @@ printf '%s\\t%s\\t%s\\t%s\\t0\\t0\\n' /dev/gwyn/source /usr/src auto noatime >> it "initialises the APK database" do use_fixture '0001-basic.installfile' run_simulate - expect(last_command_started.stdout).to include("apk --root /target --initdb add") + expect(last_command_started.stdout).to include("apk --root /target --initdb --keys-dir /target/etc/apk/keys add") end # Runner.Execute.pkginstall it "updates the local repository cache" do use_fixture '0001-basic.installfile' run_simulate - expect(last_command_started.stdout).to include("apk --root /target update") + expect(last_command_started.stdout).to include("apk --root /target --keys-dir /target/etc/apk/keys update") end # Runner.Execute.pkginstall it "installs the requested packages" do use_fixture '0001-basic.installfile' run_simulate - expect(last_command_started.stdout).to include("apk --root /target add adelie-base") + expect(last_command_started.stdout).to include("apk --root /target --keys-dir /target/etc/apk/keys add adelie-base") end end context "simulating 'language' execution" do -- cgit v1.2.3-60-g2f50