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 00a7d441d6
commit 00cc1a1657
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

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");