--- trunk/grid-mw-security/ees/spec/configs_spec.rb 2009/12/09 11:13:47 1258 +++ trunk/grid-mw-security/ees/spec/configs_spec.rb 2009/12/09 14:13:11 1259 @@ -9,7 +9,7 @@ command = "valgrind #{test_bin} #{File.join(test_configs,file)} 2&1> /dev/null" it "Should parse file #{file} without memory leaks" do `#{command}` - `fgrep "All heap blocks were freed" /tmp/vgrun.out`.should_not be "" + `fgrep "All heap blocks were freed" /tmp/vgrun.out`.should_not be_empty `fgrep "Warning" /tmp/vgrun.out`.should == "" end end