0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-24 13:06:15 +00:00
termux-packages/disabled-packages/fex/FEXCore-unittests-APITests-FileLoading.patch
tqfx 740eea08b5
fex: Disabled (#19893)
* bump(main/fex): 202404

* fex: Disabled
  Refer https://wiki.fex-emu.com/index.php/Termux
2024-04-24 20:01:29 +08:00

14 lines
545 B
Diff

diff --git a/FEXCore/unittests/APITests/FileLoading.cpp b/FEXCore/unittests/APITests/FileLoading.cpp
index e1b7169..2f20314 100644
--- a/FEXCore/unittests/APITests/FileLoading.cpp
+++ b/FEXCore/unittests/APITests/FileLoading.cpp
@@ -3,7 +3,7 @@
TEST_CASE("LoadFile-Doesn'tExist") {
fextl::string MapsFile;
- auto Read = FEXCore::FileLoading::LoadFile(MapsFile, "/tmp/a/b/c/d/e/z");
+ auto Read = FEXCore::FileLoading::LoadFile(MapsFile, "@TERMUX_PREFIX@/tmp/a/b/c/d/e/z");
REQUIRE(MapsFile.size() == 0);
REQUIRE(Read == false);
}