summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-04-01 20:57:35 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-04-01 20:57:35 -0500
commit94fc4d46c3f2ebc179b768525a4aad73a655e083 (patch)
treecc696c94b70d800558e25e892e1052d03de41011 /tests
parent28e25079b424ac9ba52bff455862289471aacc4f (diff)
downloadhorizon-94fc4d46c3f2ebc179b768525a4aad73a655e083.tar.gz
horizon-94fc4d46c3f2ebc179b768525a4aad73a655e083.tar.bz2
horizon-94fc4d46c3f2ebc179b768525a4aad73a655e083.tar.xz
horizon-94fc4d46c3f2ebc179b768525a4aad73a655e083.zip
Tests: Update APK tests for --keys-dir
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/simulator_spec.rb6
1 files changed, 3 insertions, 3 deletions
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