Refine test for enabling strategy_inotify in fish_tests

This commit is contained in:
ridiculousfish 2014-05-15 17:25:13 +08:00
parent 31f2a3a7d7
commit a526693915

View file

@ -2383,7 +2383,7 @@ static void test_universal_notifiers()
#if __APPLE__
test_notifiers_with_strategy(universal_notifier_t::strategy_notifyd);
#endif
#if __linux || linux
#if HAVE_INOTIFY_INIT || HAVE_INOTIFY_INIT1
test_notifiers_with_strategy(universal_notifier_t::strategy_inotify);
#endif
if (system("rm -Rf /tmp/fish_uvars_test/")) err(L"rm failed");