X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=cli%2Fcli-diff-images-mismatch.script;fp=cli%2Fcli-diff-images-mismatch.script;h=15446ad7818717c5787519c096f0495757023cbf;hp=0000000000000000000000000000000000000000;hb=5efeef24814e1744e3c4f3109f82e700576439ab;hpb=0ba9c4e22bc917a666b8762b734884e72c142ccf diff --git a/cli/cli-diff-images-mismatch.script b/cli/cli-diff-images-mismatch.script new file mode 100644 index 0000000..15446ad --- /dev/null +++ b/cli/cli-diff-images-mismatch.script @@ -0,0 +1,7 @@ +EXPECT_FAILURE: apitrace diff-images --verbose images/white-1x1/ images/black-1x1/ + +# In addition to getting the return value indicating an error, let's +# also require that "apitrace diff-images" gave us the output we +# expect. + +expect "Comparing images/white-1x1/0.png and images/black-1x1/0.png ... MISMATCH\n"