summaryrefslogtreecommitdiff
path: root/tests/spec
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-26 23:19:38 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-26 23:19:38 -0500
commitdc17b3db4959a34ba9768f4dd69933597e01f134 (patch)
tree7dfd99ed989414dc96301e703aaef2df8c8bcdc1 /tests/spec
parent1f241c6c969f6245eadcdc4064f4ba92d7107b0d (diff)
downloadhorizon-dc17b3db4959a34ba9768f4dd69933597e01f134.tar.gz
horizon-dc17b3db4959a34ba9768f4dd69933597e01f134.tar.bz2
horizon-dc17b3db4959a34ba9768f4dd69933597e01f134.tar.xz
horizon-dc17b3db4959a34ba9768f4dd69933597e01f134.zip
tests: Update for new keys-dir behaviour
Diffstat (limited to 'tests/spec')
-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 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