test: don't use bashism

Otherwise the test will fail if /bin/sh is a more POSIXly strict shell
like dash as Ruby uses /bin/sh and not the current user's login shell.
This commit is contained in:
Moritz Bunkus 2014-09-28 15:43:53 +02:00
parent 5a977d3093
commit dfe4226c27

View File

@ -13,6 +13,6 @@ test "extraction via shell redirection" do
end
test "extraction via --redirect-output" do
sys "../src/mkvextract --engage no_variable_data chapters #{file} --redirect-output #{tmp} &> /dev/null"
sys "../src/mkvextract --engage no_variable_data chapters #{file} --redirect-output #{tmp} > /dev/null 2> /dev/null"
hash_tmp
end