/[pdpsoft]/trunk/grid-mw-security/ees/spec/configs_spec.rb
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/spec/configs_spec.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1258 by aramv, Thu Dec 3 14:53:19 2009 UTC revision 1259 by aramv, Wed Dec 9 14:13:11 2009 UTC
# Line 9  describe test_bin do Line 9  describe test_bin do
9        command = "valgrind #{test_bin} #{File.join(test_configs,file)} 2&1> /dev/null"        command = "valgrind #{test_bin} #{File.join(test_configs,file)} 2&1> /dev/null"
10        it "Should parse file #{file} without memory leaks" do        it "Should parse file #{file} without memory leaks" do
11          `#{command}`          `#{command}`
12          `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
13          `fgrep "Warning" /tmp/vgrun.out`.should == ""          `fgrep "Warning" /tmp/vgrun.out`.should == ""
14        end        end
15      end      end

Legend:
Removed from v.1258  
changed lines
  Added in v.1259

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28