[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user