From d228c4048e0ccea85597187ca20541bbd6f6d289 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Sun, 30 Jun 2019 05:03:53 -0600 Subject: [PATCH] check nc_delete for handling of null name --- nc_test/tst_formats.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nc_test/tst_formats.c b/nc_test/tst_formats.c index 4ee358368..6f9e8b0a9 100644 --- a/nc_test/tst_formats.c +++ b/nc_test/tst_formats.c @@ -305,6 +305,7 @@ main(int argc, char **argv) if (nc_set_default_format(format[f], NULL)) ERR; if (nc_create(NULL, 0, &ncid) != NC_EINVAL) ERR; if (nc_open(NULL, NC_NOWRITE, &ncid) != NC_EINVAL) ERR; + if (nc_delete(NULL) != NC_EINVAL) ERR; } SUMMARIZE_ERR; } /* next format */