Merge "Make check for image-should-fail quiet"
This commit is contained in:
commit
af5d3bd0c4
@ -56,7 +56,7 @@ function run_disk_element_test() {
|
|||||||
trap "rm -rf $dest_dir /tmp/dib-test-should-fail" EXIT
|
trap "rm -rf $dest_dir /tmp/dib-test-should-fail" EXIT
|
||||||
|
|
||||||
if break="after-error" break_outside_target=1 \
|
if break="after-error" break_outside_target=1 \
|
||||||
break_cmd="cp \$TMP_MOUNT_PATH/tmp/dib-test-should-fail /tmp/ || true" \
|
break_cmd="cp \$TMP_MOUNT_PATH/tmp/dib-test-should-fail /tmp/ 2>&1 > /dev/null || true" \
|
||||||
ELEMENTS_PATH=$DIB_ELEMENTS:$DIB_ELEMENTS/$element/test-elements \
|
ELEMENTS_PATH=$DIB_ELEMENTS:$DIB_ELEMENTS/$element/test-elements \
|
||||||
$DIB_CMD -t tar -o $dest_dir/image -n $element $test_element; then
|
$DIB_CMD -t tar -o $dest_dir/image -n $element $test_element; then
|
||||||
if ! [ -f "$dest_dir/image.tar" ]; then
|
if ! [ -f "$dest_dir/image.tar" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user