waveterm/waveshell/pkg
Evan Simkowitz e7725e0e11
Clean up cirfile and cirfile_tests, ensure we are using contexts with cancellation signals (#183)
* Fix unvalidated path warning in cirfile.go

* Adding test

* move dir path vars into global scope, set wave home in test if not set already

* separate validation code into own testable func

* do removal of cir file in cleanup

* rename test file names

* flock should return err if waiting without done fn

* update comment

* use timeout context

* remove redundant validation

* add more error messages

* use filepath.join instead

* validate when creating cirfile too

* support .ptyout.cf, etc.

* remove validation as cirfile is "trusted", since it only accepts pre-validated input

* revert to passing nil context for flock in the Create file case
2023-12-22 18:07:58 -08:00
..
base SIGKILL will also kill waveshell. clear PendingStateCmds and WaitingCmds on disconnect (remote.go) 2023-11-09 18:29:11 -08:00
binpack add license notice (#37) 2023-10-16 21:31:13 -07:00
cirfile Clean up cirfile and cirfile_tests, ensure we are using contexts with cancellation signals (#183) 2023-12-22 18:07:58 -08:00
cmdtail remove more go warnings 2023-12-05 10:49:30 -08:00
mpio add license notice (#37) 2023-10-16 21:31:13 -07:00
packet Packetparser Ignore Spurious Invalid Input at Beginning of Stream (#140) 2023-12-18 12:42:40 -08:00
server Packetparser Ignore Spurious Invalid Input at Beginning of Stream (#140) 2023-12-18 12:42:40 -08:00
shexec add lines to ignored variables 2023-12-21 14:32:27 -08:00
simpleexpand add license notice (#37) 2023-10-16 21:31:13 -07:00
statediff add license notice (#37) 2023-10-16 21:31:13 -07:00