summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-03-11 11:51:29 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-03-11 11:51:29 -0500
commit121ea03a37d5a3b45734cad9324649ae43a58779 (patch)
treeef36d5dbc44888c5028edcc06c44b95c0aafc2e1 /tests
parentb8f4ce3bdb1f3ea76eef1c0c4fd7dd5d29259336 (diff)
downloadhorizon-121ea03a37d5a3b45734cad9324649ae43a58779.tar.gz
horizon-121ea03a37d5a3b45734cad9324649ae43a58779.tar.bz2
horizon-121ea03a37d5a3b45734cad9324649ae43a58779.tar.xz
horizon-121ea03a37d5a3b45734cad9324649ae43a58779.zip
tests: Update simulator spec for proper language script
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 f5f46ec..b061ec1 100644
--- a/tests/spec/simulator_spec.rb
+++ b/tests/spec/simulator_spec.rb
@@ -285,18 +285,18 @@ printf '%s\\t%s\\t%s\\t%s\\t0\\t0\\n' /dev/gwyn/source /usr/src auto noatime >>
it "doesn't configure language by default" do
use_fixture '0001-basic.installfile'
run_simulate
- expect(last_command_started.stdout).to_not include("/target/etc/profile.d/language.sh")
+ expect(last_command_started.stdout).to_not include("/target/etc/profile.d/00-language.sh")
end
it "configures language correctly" do
use_fixture '0116-language-country.installfile'
run_simulate
# leading space also serves as regression test for 1d89a45
- expect(last_command_started.stdout).to include(" ie_IE > /target/etc/profile.d/language.sh")
+ expect(last_command_started.stdout).to include(" ie_IE > /target/etc/profile.d/00-language.sh")
end
it "ensures profile script is executable" do
use_fixture '0116-language-country.installfile'
run_simulate
- expect(last_command_started.stdout).to include("chmod a+x /target/etc/profile.d/language.sh")
+ expect(last_command_started.stdout).to include("chmod a+x /target/etc/profile.d/00-language.sh")
end
end
context "simulating 'keymap' execution" do