termux-packages/packages/snapcast-server/test-test_main.cpp.patch
Aditya Alok c69deee0c5
feat(snapcast-server): enable auto-update, upgrade to 0.26.0
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-16 20:02:33 +05:30

15 lines
649 B
Diff

--- 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 @@
{
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");
REQUIRE(uri.host.empty());
// uri = StreamUri("scheme:[//host[:port]][/]path[?query=none][#fragment]");