diff --git a/Makefile b/Makefile index 8af4002..e82883f 100644 --- a/Makefile +++ b/Makefile @@ -64,9 +64,7 @@ test: all ./fsatrace$(EXE) ewrmdqt - -- $(TEST_CC_CMD) ./fsatrace$(EXE) ewrmdqt - -- sh -c "cp $(LS) /tmp/foo && mv -f /tmp/foo /tmp/bar && rm -f /tmp/bar" ./fsatrace$(EXE) ewrmdqt - -- sh -c "cp $(LS) /tmp/foo && mv -f /tmp/foo /tmp/bar && rm -f /tmp/bar" # twice, when dst exists it might use another path - # Test buffer size overwrite, since default buffer size is not large enough - # for the amount of output from the command. - env FSAT_BUF_SIZE=2000000 ./fsatrace$(EXE) ewrmdqt /dev/null -- sh -c "for _ in {1..100}; do $(TEST_CC_CMD); done" + ./fsatrace$(EXE) ewrmdqt /dev/null -- sh -c "for _ in {1..100}; do $(TEST_CC_CMD); done" htest: all cd test && stack install && stack test diff --git a/src/win/fsatrace.h b/src/win/fsatrace.h index 2265214..1be3a77 100644 --- a/src/win/fsatrace.h +++ b/src/win/fsatrace.h @@ -1,4 +1,3 @@ -#define ENVBUFSIZE "FSAT_BUF_SIZE" #define ENVOUT "FSAT_OUT" -#define DEFAULT_LOGSZ 0x100000 +#define LOGSZ 0x100000 void inject(HANDLE);