mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 03:08:38 +01:00
test: Add test case for fpurge(NULL)
This commit is contained in:
parent
cfb4d462a9
commit
d62f7d8fac
@ -32,6 +32,9 @@ main()
|
||||
static FILE fp_bad;
|
||||
FILE *fp;
|
||||
|
||||
if (fpurge(NULL) == 0)
|
||||
return 1;
|
||||
|
||||
if (fpurge(&fp_bad) == 0)
|
||||
return 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user