Merge pull request #4721

a9f9406c unit_tests: notify test special case for the usual weirdo (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-10-26 22:42:58 +02:00
commit 4cbb476cd1
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -52,7 +52,11 @@ TEST(notify, works)
ASSERT_TRUE(fd >= 0);
close(fd);
const std::string spec = epee::string_tools::get_current_module_folder() + "/test_notifier " + name_template + " %s";
const std::string spec = epee::string_tools::get_current_module_folder() + "/test_notifier"
#ifdef _WIN32
+ ".exe"
#endif
+ " " + name_template + " %s";
tools::Notify notify(spec.c_str());
notify.notify("1111111111111111111111111111111111111111111111111111111111111111");