]> git.proxmox.com Git - mirror_qemu.git/commit
docker: Add test_fail and prep_fail
authorFam Zheng <famz@redhat.com>
Tue, 5 Sep 2017 02:56:10 +0000 (10:56 +0800)
committerFam Zheng <famz@redhat.com>
Fri, 22 Sep 2017 02:20:34 +0000 (10:20 +0800)
commit82659e844a0cdf5e250f9cdaa31780a5a2dfc781
tree269276c33dcd2655809c3007ceeadeecbff8870e
parentd8a2f5116dd41c2262efcd83ba9756d5953d9318
docker: Add test_fail and prep_fail

They both print a message and exit, but with different status code so
distinguish real test errors from env preparation failures.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170905025614.579-3-famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Based-on: 20170905021201.25684-1-famz@redhat.com
tests/docker/common.rc