termux-packages/packages/snapcast-server/test-test_main.cpp.patch

15 lines
649 B
Diff
Raw Normal View History

--- a/test/test_main.cpp 2022-04-15 02:22:36.962384329 +0530
+++ b/test/test_main.cpp 2022-04-15 02:41:15.916963051 +0530
@@ -41,9 +41,9 @@
2021-12-22 03:41:30 +01:00
{
AixLog::Log::init<AixLog::SinkCout>(AixLog::Severity::debug);
using namespace streamreader;
- StreamUri uri("pipe:///tmp/snapfifo?name=default&codec=flac");
+ StreamUri uri("pipe://@TERMUX_PREFIX@/tmp/snapfifo?name=default&codec=flac");
REQUIRE(uri.scheme == "pipe");
- REQUIRE(uri.path == "/tmp/snapfifo");
+ REQUIRE(uri.path == "@TERMUX_PREFIX@/tmp/snapfifo");
2021-12-22 03:41:30 +01:00
REQUIRE(uri.host.empty());
// uri = StreamUri("scheme:[//host[:port]][/]path[?query=none][#fragment]");