summaryrefslogtreecommitdiffstats
path: root/tools/perform/iopipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perform/iopipe.c')
-rw-r--r--tools/perform/iopipe.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/perform/iopipe.c b/tools/perform/iopipe.c
index a04ef82..6ac7ccb 100644
--- a/tools/perform/iopipe.c
+++ b/tools/perform/iopipe.c
@@ -135,8 +135,13 @@ synchronize (void)
#if defined(H5_HAVE_WIN32_API) && ! defined(__CYGWIN__)
_flushall();
#else
- HDsystem("sync");
- HDsystem("df >/dev/null");
+ int status;
+
+ status = HDsystem("sync");
+ HDassert(status >= 0);
+
+ status = HDsystem("df >/dev/null");
+ HDassert(status >= 0);
#endif
#endif
}