aboutsummaryrefslogtreecommitdiff
path: root/testdata/local/local_encrypted.data
AgeCommit message (Collapse)Author
2026-02-06all: use space log prefix instead of dummy dateShulhan
Using dummy date make the test output hard to read in verbose option, because the program logs mixed with the test logs.
2026-02-03all: fix data race in tests and [httpServer.ExecuteTail]Shulhan
In the test for AwwanLocal, use buffer with lock, so each write and read is safe. In the httpServer, the test found data race during ExecuteTail when accessing [ExecResponse.EndAt]. We fix it by locking the resource during call to end() and when accessing the EndAt field.
2023-12-21all: changes default date-time prefix on testShulhan
Using "-" as dummy date-time prefix make the test output quite hard to read, especially since we use the same prefix "===" and "---" with Go test output.
2023-12-01all: move wrapping BEGIN and END outside of sessionShulhan
2023-12-01all: remove script name in the log prefixShulhan
Since each execution now logged in the file with ".log" extension, there is no need to prefix it with script name again, because its redundant.
2023-10-30all: refactoring Local and Play so that error get loggedShulhan
Previously, if there is any error from Local or Play before any statement get executed it will not logged to log, also the Request close() is not called since we put it as defer in the middle. This changes fix this by moving down error handler into single exit goto label.
2023-10-30all: add begin and end for each script executionShulhan
When the script executed, log the script and line number to be executed with "=== BEGIN", and when its finished, log the end of it with "=== END". This is to make the log more traceable.
2023-10-30all: log all execution into fileShulhan
For each script execution, a file suffixed with ".log" will be created in the same directory with the same name as script file. For example, if the script is path is "a/b/c.aww" then the log file would named "a/b/c.aww.log". This is to provides history and audit in the future.
2023-09-27all: print any path relative to base directoryShulhan
This is to minimize log length in stdout and stderr, which make it more readable.
2023-09-27all: add tests for local with empty and invalid passphraseShulhan
While at it, rename the script for testing encrypted value to allow other tests without encryption later.