diff --git a/test/files/bin/test_files b/test/files/bin/test_files new file mode 100755 index 0000000..6d2cb44 Binary files /dev/null and b/test/files/bin/test_files differ diff --git a/milepost/test/files/build.bat b/test/files/build.bat similarity index 98% rename from milepost/test/files/build.bat rename to test/files/build.bat index 52d387d..0d7dd7e 100644 --- a/milepost/test/files/build.bat +++ b/test/files/build.bat @@ -1,4 +1,4 @@ - -set INCLUDES=/I ..\..\src /I ..\..\src\util /I ..\..\src\platform /I ../../ext - -cl /we4013 /Zi /Zc:preprocessor /std:c11 %INCLUDES% main.c /link /LIBPATH:../../bin milepost.dll.lib /out:../../bin/test_files.exe + +set INCLUDES=/I ..\..\src /I ..\..\src\util /I ..\..\src\platform /I ../../ext + +cl /we4013 /Zi /Zc:preprocessor /std:c11 %INCLUDES% main.c /link /LIBPATH:../../bin milepost.dll.lib /out:../../bin/test_files.exe diff --git a/milepost/test/files/build.sh b/test/files/build.sh similarity index 93% rename from milepost/test/files/build.sh rename to test/files/build.sh index e8b06a4..1ea05ff 100755 --- a/milepost/test/files/build.sh +++ b/test/files/build.sh @@ -2,7 +2,7 @@ LIBDIR=../../bin RESDIR=../../resources -SRCDIR=../../src +SRCDIR=../../milepost/src INCLUDES="-I$SRCDIR -I$SRCDIR/util -I$SRCDIR/platform -I$SRCDIR/app" LIBS="-L$LIBDIR -lmilepost" diff --git a/milepost/test/files/data/directory/test.txt b/test/files/data/directory/test.txt similarity index 100% rename from milepost/test/files/data/directory/test.txt rename to test/files/data/directory/test.txt diff --git a/milepost/test/files/data/jail/dir/test.txt b/test/files/data/jail/dir/test.txt similarity index 100% rename from milepost/test/files/data/jail/dir/test.txt rename to test/files/data/jail/dir/test.txt diff --git a/milepost/test/files/data/jail/dir_escape b/test/files/data/jail/dir_escape similarity index 100% rename from milepost/test/files/data/jail/dir_escape rename to test/files/data/jail/dir_escape diff --git a/milepost/test/files/data/jail/file_escape b/test/files/data/jail/file_escape similarity index 100% rename from milepost/test/files/data/jail/file_escape rename to test/files/data/jail/file_escape diff --git a/milepost/test/files/data/jail/test.txt b/test/files/data/jail/test.txt similarity index 100% rename from milepost/test/files/data/jail/test.txt rename to test/files/data/jail/test.txt diff --git a/milepost/test/files/data/regular.txt b/test/files/data/regular.txt similarity index 100% rename from milepost/test/files/data/regular.txt rename to test/files/data/regular.txt diff --git a/milepost/test/files/data/symlink b/test/files/data/symlink similarity index 100% rename from milepost/test/files/data/symlink rename to test/files/data/symlink diff --git a/milepost/test/files/main.c b/test/files/main.c similarity index 100% rename from milepost/test/files/main.c rename to test/files/main.c