diff options
| author | Maciej W. Rozycki <macro@redhat.com> | 2025-09-05 11:53:31 +0100 |
|---|---|---|
| committer | Maciej W. Rozycki <macro@redhat.com> | 2025-09-05 11:53:31 +0100 |
| commit | 5d45da09e6bd0a66ec3b7aa9f279ee225dcbae52 (patch) | |
| tree | b40cc9c3aa4189f63acb24a2d09b65ab32fe053b /misc | |
| parent | 2d47b01de020c2e07f25e4b8904419b707920ec4 (diff) | |
testsuite: Update tests for 'xfclose' use
Convert (some) tests to use 'xfclose' rather than using plain 'fclose'
call with no error checking or plain missing such a call.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'misc')
| -rw-r--r-- | misc/tst-mntent-escape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tst-mntent-escape.c b/misc/tst-mntent-escape.c index 13996cac9f..675bce7995 100644 --- a/misc/tst-mntent-escape.c +++ b/misc/tst-mntent-escape.c @@ -87,7 +87,7 @@ do_test (void) TEST_COMPARE(tests[i].mnt_freq, ret->mnt_freq); TEST_COMPARE(tests[i].mnt_passno, ret->mnt_passno); - fclose (fp); + xfclose (fp); } return 0; |
