diff options
author | 2014-05-03 19:57:20 -0700 | |
---|---|---|
committer | 2014-05-03 19:57:20 -0700 | |
commit | 7e44bcfd8a3b0947bdc7e325671ec5fc4401cb21 (patch) | |
tree | 3463a50829f5b40767ebf2fb2d5f7d4888355a88 /fish_tests.cpp | |
parent | 8cbd66b0f9aa7bbbfc75d61f51520d653f9e34f3 (diff) |
Make inotify-based universal variable notifier tests pass
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp index 7256c3df..f6feda77 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -2371,7 +2371,9 @@ static void test_universal_notifiers() test_notifiers_with_strategy(universal_notifier_t::strategy_notifyd); #endif #if __linux || linux + if (system("mkdir -p /tmp/fish_uvars_test/ && touch /tmp/fish_uvars_test/varsfile.txt")) err(L"mkdir failed"); test_notifiers_with_strategy(universal_notifier_t::strategy_inotify); + if (system("rm -Rf /tmp/fish_uvars_test/")) err(L"rm failed"); #endif } |