termtest icon indicating copy to clipboard operation
termtest copied to clipboard

Cross-platform (Windows, Mac, Linux) integration testing for your terminals

Results 3 termtest issues
Sort by recently updated
recently updated
newest added

The idea is to call `exec.Cmd.Wait()` in a goroutine (https://github.com/ActiveState/termtest/pull/12/files#diff-13ff3d9e77d1ebdf70d066552cb9e504472550dc97fd74aac53a8ab3a63e54a1) and edit the Expect() functions (https://github.com/ActiveState/termtest/pull/12/files#diff-a63ecf8315eeb0943ebec69499243bd650ae6b99635bde7aa1c0f6ac773368c2R106-R111 and https://github.com/ActiveState/termtest/pull/12/files#diff-2a74ac0f372490e4a5cf19a11e38b9329713643dc44c65ca5f7de285f84c9391R183-R187) to poll for a command's exit status alongside the usual expect checks....

"panic: unaligned 64-bit atomic operation" in windows 32bit ```txt Spawning 'C:\Windows\system32\cmd.exe' from C:\Users\admin\AppData\Local\Temp\2992344586 panic: unaligned 64-bit atomic operation goroutine 1 [running]: runtime/internal/atomic.panicUnaligned() runtime/internal/atomic/unaligned.go:8 +0x2b runtime/internal/atomic.Store64(0x1c62864, 0x17cef992dab2f618) runtime/internal/atomic/atomic_386.s:237 +0x10 github.com/ActiveState/termtest/xpty.(*PassthroughPipe).ReadRune(0x1c62840) github.com/ActiveState/termtest/[email protected]/passthrough_pipe.go:81...