From dc17b3db4959a34ba9768f4dd69933597e01f134 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 26 May 2020 23:19:38 -0500 Subject: tests: Update for new keys-dir behaviour --- tests/spec/simulator_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/spec/simulator_spec.rb b/tests/spec/simulator_spec.rb index 2e63009..700cdee 100644 --- a/tests/spec/simulator_spec.rb +++ b/tests/spec/simulator_spec.rb @@ -286,19 +286,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 --keys-dir /target/etc/apk/keys add") + expect(last_command_started.stdout).to include("apk --root /target --initdb --keys-dir 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 --keys-dir /target/etc/apk/keys update") + expect(last_command_started.stdout).to include("apk --root /target --keys-dir 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 --keys-dir /target/etc/apk/keys add adelie-base") + expect(last_command_started.stdout).to include("apk --root /target --keys-dir etc/apk/keys add adelie-base") end end context "simulating 'language' execution" do -- cgit v1.2.3-70-g09d2