diff options
author | CoolStar <coolstarorganization@gmail.com> | 2018-05-10 16:08:35 -0700 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-12-26 15:12:15 -1000 |
commit | f55118e289e1bd6d190a16e51ee93fac62dd6b2a (patch) | |
tree | 66614a8dc3fa4ac50411f1e0d9609c3337e32070 | |
parent | 73ace3cfa0c68371fd8812cc9dca963419fe712e (diff) |
Fix system() in test_fileutl
-rw-r--r-- | test/interactive-helper/test_fileutl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interactive-helper/test_fileutl.cc b/test/interactive-helper/test_fileutl.cc index 6c29b748f..0ab6163fc 100644 --- a/test/interactive-helper/test_fileutl.cc +++ b/test/interactive-helper/test_fileutl.cc @@ -14,7 +14,7 @@ static void callsystem(std::string const &call) { - auto ret = system(call.c_str()); + auto ret = RunCmd(call.c_str()); if (WIFEXITED(ret) == false || WEXITSTATUS(ret) != 0) _error->Error("Calling %s failed!", call.c_str()); } |