Merge "Fix tar listing in functional tests"

This commit is contained in:
Jenkins 2016-02-16 23:45:27 +00:00 committed by Gerrit Code Review
commit b52e8f3a3b

View file

@ -64,7 +64,7 @@ function run_disk_element_test() {
echo "No image $dest_dir/image.tar found!"
exit 1
else
if tar -t $dest_dir/image.tar | grep -q /tmp/dib-test-should-fail; then
if tar -tf $dest_dir/image.tar | grep -q /tmp/dib-test-should-fail; then
echo "Error: Element: $element, test-element $test_element should have failed, but passed."
exit 1
else