From 8fef10fbeefd8ce8fe37c16494b40935650e09a0 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 4 Nov 2019 18:39:26 -0600 Subject: tests: Fix nameserver test --- tests/spec/simulator_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/spec/simulator_spec.rb b/tests/spec/simulator_spec.rb index db78a82..561b6a2 100644 --- a/tests/spec/simulator_spec.rb +++ b/tests/spec/simulator_spec.rb @@ -137,7 +137,7 @@ printf '%s\\t%s\\t%s\\t%s\\t0\\t0\\n' /dev/gwyn/source /usr/src auto noatime >> it "configures nameservers correctly" do use_fixture '0183-nameserver-basic.installfile' run_simulate - expect(last_command_started.stdout).to include("printf 'nameserver %s\n' 172.16.1.1 >>/target/etc/resolv.conf") + expect(last_command_started.stdout).to include("printf 'nameserver %s\\n' 172.16.1.1 >>/target/etc/resolv.conf") end end end -- cgit v1.2.3-70-g09d2