[features] check that quiet mode really outputs nothing.

Previously it was checking the output contained a null string within it.
This commit is contained in:
Joe Thornber
2014-08-28 14:00:08 +01:00
parent 0608df97d8
commit 5a6b92312e
6 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -80,9 +80,9 @@ end
Given(/^valid cache metadata$/) do
in_current_dir do
system("cache_xml create --nr-cache-blocks uniform[1000..5000] --nr-mappings uniform[500..1000] > #{xml_file}")
system("dd if=/dev/zero of=#{dev_file} bs=4k count=1024 > /dev/null")
end
run_simple("dd if=/dev/zero of=#{dev_file} bs=4k count=1024")
run_simple("cache_restore -i #{xml_file} -o #{dev_file}")
end