Commit Graph

359 Commits

Author SHA1 Message Date
616d87399f Fix broken help command test 2022-09-24 16:18:24 -07:00
90c4acefd3 Add more fuzz tests with redaction 2022-09-24 16:00:03 -07:00
ff6e42794c Remove TODO, a couple more fuzz tests 2022-09-22 23:25:06 -07:00
1df50731be Run the fuzz test with bash and zsh 2022-09-22 23:12:41 -07:00
4e4caef10f Add initial implementation of fuzz testing that fuzzes multiple devices and multiple users 2022-09-22 23:06:28 -07:00
c18c2502cc Add a complex test with many users 2022-09-22 21:45:20 -07:00
c6d4f1ef68 Fix missing newline in zshrc, add test for hishtory redact prompting, and tag TODOs with plans 2022-09-22 18:22:06 -07:00
ee6680f571 Remove debugging information and give up on that test, and add work around for weird zsh bug with importing 2022-09-22 18:09:51 -07:00
99b51a356e Add debugging information for macos tests 2022-09-21 21:49:08 -07:00
133463ef96 Disable CGO in one more place (plus add a todo) 2022-09-21 20:30:50 -07:00
569e2f3e61 Add tests for offline behavior 2022-09-21 20:09:49 -07:00
4fceaa3110 Run tests without CGO since that is how prod is built + fix broken tests from previous commit 2022-09-21 19:58:10 -07:00
1abd2a5376 Fix table format tests 2022-09-20 23:46:17 -07:00
ceb1becfa6 Fix ctx wiring so installs work properly 2022-09-20 23:30:57 -07:00
694c2e2679 Untested: ctx wired through 2022-09-20 22:28:40 -07:00
e47bcfc993 Part way through migrating to context 2022-09-20 22:03:15 -07:00
42c6f95eb4 Remove time.Sleep that was working around an old already fixed bug 2022-09-20 21:38:04 -07:00
5391ecd220 First version of working redaction with passing integration tests 2022-09-19 22:49:48 -07:00
a445118e91 Remove outdated TODO 2022-09-17 23:05:50 -07:00
af0d20952f Remove the last bit of GITHUB_ACTION dependent code 2022-09-17 22:50:01 -07:00
55f0f97d29 Fix tests for importing so they pass on github actions 2022-09-17 21:56:39 -07:00
d4302501eb Improve table matching for tests and attempt to fix the tests that fail only on github actions 2022-09-17 12:49:27 -07:00
5b1c9140b3 Support runtimes that contain a period 2022-09-17 12:37:02 -07:00
6093d06110 Remove outdated TODO + fix TODO to add tests for the table output 2022-09-17 12:19:29 -07:00
bad123a3dd Add tests for history importing and add output showing the number of imported entries 2022-09-17 11:49:31 -07:00
d54bece705 Add HomeDirectory to HistoryEntry so we can query with or without ~/ in the cwd atom 2022-09-07 23:20:31 -07:00
aef13b16d0 Offline first! Now if a devide is offline it will detect this and upload the entries later 2022-09-04 18:37:46 -07:00
e8f001c78b Add basic support for stripping out HISTTIMEFORMAT prefixes 2022-06-12 21:28:19 -07:00
3f32891469 Revert "Half implement querying based on relative and non-relative paths"
This reverts commit af05d823fe. I will pick up work on this later.
2022-06-12 20:28:40 -07:00
af05d823fe Half implement querying based on relative and non-relative paths 2022-06-12 20:28:33 -07:00
ad7e412855 Add help command 2022-06-05 18:26:02 -07:00
5e44e7ef36 Support queries as part of the export command + more info sent to the banner endpoint 2022-06-05 18:05:06 -07:00
b471eea2ee Enable 'strict' mode for zsh 2022-06-04 23:11:26 -07:00
0fac3b7286 Make query params required rather than having weird undefined behavior 2022-06-04 23:03:05 -07:00
84182ba5c3 Delete TODO for a test that I don't think is needed 2022-06-04 22:30:20 -07:00
00f6bed62c Add a test for the install.py script 2022-06-04 22:27:04 -07:00
c918c5042e Fix test on incorrect update output + prevent downgrades 2022-06-04 21:42:40 -07:00
0a31e8a787 Skip flaky test in github actions 2022-05-27 23:00:10 -07:00
47d13a9c27 Passing the basic dump testss 2022-05-22 19:45:46 -07:00
feaa8b2bd1 Add a DB dump test that passes on zsh (is failing for an unknown reason on bash currently) + fix backup and restore for WAL files + better offline support 2022-05-01 22:37:26 -04:00
46d7e9e013 Tests passing when being run offline, still not integrated with the new API endpoints yet 2022-04-28 11:26:55 -07:00
87c8c961e9 Delete already done todo 2022-04-28 10:01:58 -07:00
980d299543 Run the command in the background for zsh 2022-04-21 22:25:24 -07:00
6a18504755 Enable WAL for increased concurrency, and add additional expectedOutput option for testDisplayTable 2022-04-20 22:13:10 -07:00
94c88c76fe Skip testUpdate when running on linux/arm64 since that isn't a supported platform 2022-04-20 20:56:01 -07:00
10ee085d4c Remove unnecessary set -m calls, speed up the local make acttest command, embed ReleaseVersion into the test server to fix the test failures on macos, and update install to be resistant to bashrc and zshrc not existing 2022-04-19 21:05:54 -07:00
0c0943fc79 Fix failing test + fix syntax error in workflow 2022-04-19 19:21:39 -07:00
62c29dc68c Enable some previously disabled tests that I think should now pass on macos 2022-04-18 23:07:39 -07:00
d6a142dfe7 Fix failing lib_test + add test for displaying the correct cwd in the table 2022-04-18 22:45:07 -07:00
38b91f933c Add a timestamp test that I believe will fail for macos 2022-04-18 22:07:10 -07:00