summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2021-08-28 19:50:14 +0700
committerPierre Joye <pierre.php@gmail.com>2021-08-28 19:50:14 +0700
commit9daba6a306205f30502d42fad02a33b89bc3f552 (patch)
tree1a3908c9a94ab07088acd7e3730056c9cc03355d /tests
parent7d5628c4d2769780d84a109b54b9fed4d75b1479 (diff)
downloadlibgd-9daba6a306205f30502d42fad02a33b89bc3f552.tar.gz
let debug this on CI
Diffstat (limited to 'tests')
-rw-r--r--tests/png/bug00338.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/png/bug00338.c b/tests/png/bug00338.c
index f439d8c..cf58674 100644
--- a/tests/png/bug00338.c
+++ b/tests/png/bug00338.c
@@ -34,6 +34,10 @@ int main()
im = gdImageCreateTrueColor(10, 10);
fp = gdTestTempFp();
+ gdTestAssert(f[]);
+ if (!fp) {
+ exit(2);
+ }
gdImagePngEx(im, fp, 100);
gdImageDestroy(im);
fclose(fp);