-rm_and_mkdir ./tri-out
-apitrace dump-images -o ./tri-out/tri tri.trace
-apitrace diff-images -v ./tri-ref ./tri-out
-expect "Comparing ./tri-ref/tri0000000027.png and ./tri-out/tri0000000027.png ... MATCH\n"
+apitrace diff-images --verbose images/white-1x1/ images/white-1x1/
+
+# Ensure that the "apitrace diff-images" actually did something. This
+# is important since if it couldn't find images in one directory or
+# the other then it would just silently return 0 and this test would
+# incorrectly pass.
+
+expect "Comparing images/white-1x1/0.png and images/white-1x1/0.png ... MATCH\n"