From 3cc023d4e6a95722eacf570a1487052833ccb829 Mon Sep 17 00:00:00 2001 From: Ken Barber Date: Fri, 12 Apr 2013 15:32:32 +0100 Subject: [PATCH] Add an absolute path to iptables to make system tests pass Signed-off-by: Ken Barber --- spec/system/basic_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/basic_spec.rb b/spec/system/basic_spec.rb index 71309c4..e7f8a85 100644 --- a/spec/system/basic_spec.rb +++ b/spec/system/basic_spec.rb @@ -7,7 +7,7 @@ describe "basic tests:" do # It checks that the flush command returns with no errors. def iptables_flush_all_tables ['filter', 'nat', 'mangle', 'raw'].each do |t| - system_run("iptables -t #{t} -F") do |r| + system_run("/sbin/iptables -t #{t} -F") do |r| r[:exit_code].should == 0 r[:stderr].should == '' end -- 2.45.2