Make check for image-should-fail quiet
We perform a check for this file after an image build fails to see if it was intentional. This outputs a message which looks like the failure is a result of the check when the file is missing which is very confusing to users. Lets be more quiet about it. Change-Id: I9b1f6c7c57021d11b4f91cd3c33846fae692b928
This commit is contained in:
parent
3a110bf96f
commit
0537563c27
@ -56,7 +56,7 @@ function run_disk_element_test() {
|
||||
trap "rm -rf $dest_dir /tmp/dib-test-should-fail" EXIT
|
||||
|
||||
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 \
|
||||
$DIB_CMD -t tar -o $dest_dir/image -n $element $test_element; then
|
||||
if ! [ -f "$dest_dir/image.tar" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user