diff options
Diffstat (limited to 'utils/expect_flush.c')
-rw-r--r-- | utils/expect_flush.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/utils/expect_flush.c b/utils/expect_flush.c index 22ae3d3..4e28c1c 100644 --- a/utils/expect_flush.c +++ b/utils/expect_flush.c @@ -18,10 +18,13 @@ int main() ret = nfexp_query(h, NFCT_Q_FLUSH, &family); - printf("TEST: flush expectation (%d)(%s)\n", ret, strerror(errno)); - + printf("TEST: flush expectations "); if (ret == -1) - exit(EXIT_FAILURE); + printf("(%d)(%s)\n", ret, strerror(errno)); + else + printf("(OK)\n"); + + nfct_close(h); - exit(EXIT_SUCCESS); + ret == -1 ? exit(EXIT_FAILURE) : exit(EXIT_SUCCESS); } |