unit_tests: notify test special case for the usual weirdo

This commit is contained in:
moneromooo-monero 2018-10-24 21:54:19 +00:00
parent 1e74586ee9
commit a9f9406c5b
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,11 @@ TEST(notify, works)
ASSERT_TRUE(fd >= 0); ASSERT_TRUE(fd >= 0);
close(fd); 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()); tools::Notify notify(spec.c_str());
notify.notify("1111111111111111111111111111111111111111111111111111111111111111"); notify.notify("1111111111111111111111111111111111111111111111111111111111111111");