summaryrefslogtreecommitdiff
path: root/tests/spec
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec')
-rw-r--r--tests/spec/simulator.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/spec/simulator.rb b/tests/spec/simulator.rb
index d3d8afa..1b51b9d 100644
--- a/tests/spec/simulator.rb
+++ b/tests/spec/simulator.rb
@@ -43,6 +43,15 @@ mount /dev/gwyn/home /target/home
mount /dev/sda2 /target/usr
mount /dev/gwyn/source /target/usr/src")
end
+ it "handles options correctly" do
+ use_fixture '0075-mount-options.installfile'
+ run_simulate
+ expect(last_command_started.stdout).to include("
+mount /dev/sda1 /target/
+mount -o relatime /dev/gwyn/home /target/home
+mount /dev/sda2 /target/usr
+mount -o noatime /dev/gwyn/source /target/usr/src")
+ end
end
context "simulating 'hostname' execution" do
it "sets the hostname properly" do