Commit Graph

145 Commits

Author SHA1 Message Date
Benedek Racz
69f40723d2 [FIX] exit status now returned from child in new-structure wexpect 2020-01-31 15:49:48 +01:00
Benedek Racz
ab033fc11c [ADD] more logging 2020-01-28 14:23:07 +01:00
Benedek Racz
2fd01d953f [FIX] workaround codecov upload 2020-01-28 11:00:23 +01:00
Benedek Racz
961b85b8b6 [FIX][CI] generate xml coverage report from tox 2020-01-27 16:41:22 +01:00
Benedek Racz
8a84d0bb79 [FIX] all cleaned test merged 2020-01-25 23:52:08 +01:00
Benedek Racz
3d65f30b16 [FIX] isalive now uses flag_eof, and return false, if the eof has been catched 2020-01-25 23:27:45 +01:00
Benedek Racz
d46e700655 [FIX] real child process cannot be fetched from host, because it may died befor fetching it, so signal handling cannot be handled directly. 2020-01-25 22:54:40 +01:00
Benedek Racz
a9471a94e6 [CLN] tests initial merge 2020-01-25 16:59:19 +01:00
Benedek Racz
1fc42b5b84 [MRG] wexpect2 merged, the default is the legacy 2020-01-25 16:47:58 +01:00
Benedek Racz
578dd872dc [CLN] make wexpect subdir 2020-01-25 16:35:02 +01:00
Benedek Racz
f1654bc8df [CLN] make wexpect subdir 2020-01-25 16:30:39 +01:00
Benedek Racz
88bbd4fc5c [FIX] child logging 2020-01-25 16:13:32 +01:00
Benedek Racz
fa38c44947 [REF] spawn renamed to host not to hide spawn class; [FIX][TST] More misc test fixed 2020-01-24 17:25:12 +01:00
Benedek Racz
e62dfabc82 [FIX] process termination: do not terminate a process, which has not been started. 2020-01-24 16:24:03 +01:00
Benedek Racz
80f63d47ef [FIX] process termination and exitstatus 2020-01-24 10:35:23 +01:00
Benedek Racz
51426bc41d [ADD] WEXPECT_SPAWN_CLASS environment variable set the working spawn class, the default is SpawnSocket if env var not set;[FIX][TST] interact testcases skipped 2020-01-24 10:11:14 +01:00
Benedek Racz
46519bb4cf [CLN] clean process die 2020-01-23 13:31:18 +01:00
Benedek Racz
6a9b086d0b [CLN] clean non_blocking_read 2020-01-23 13:30:46 +01:00
Benedek Racz
0d645c4ddf [CLN] Remove non-standard linebreaks 2020-01-23 12:53:01 +01:00
Benedek Racz
40d34f4b92 [CLN] clean startChild function 2020-01-23 12:46:59 +01:00
Benedek Racz
1ad1ea28b0 [FIX] EOF handling, more fixes needed 2020-01-23 09:29:49 +01:00
Benedek Racz
a0b37ebf28 [FIX] Pipe console byte decode was missing 2020-01-23 08:25:52 +01:00
Benedek Racz
149ef50874 [CLN] logging levels; [FIX] Pipe avail bytes 2020-01-22 16:59:24 +01:00
Benedek Racz
eda36aa1a1 [FIX] align sleep times, now all commands arrives after the before one has been processed.[TST][FIX] destructor and constructor testcases 2020-01-22 13:33:09 +01:00
Benedek Racz
9709eb82e9 [ADD] interact feature 2020-01-22 13:03:53 +01:00
Benedek Racz
3965fd4f65 [ADD] terminal local echo feature 2020-01-22 12:33:09 +01:00
Benedek Racz
9998875dd9 [FIX] add psutil to requirements; [FIX] test_buffer_interface: the assertion should have been delayed 2020-01-22 12:23:01 +01:00
Benedek Racz
54d961489a [ADD] logging into spawn class; [FIX] more fixes around process finishing 2020-01-22 11:17:07 +01:00
Benedek Racz
4a7385e4a1 [FIX] many fixes around process termination; [ADD] pipe mode basic features added 2020-01-21 17:46:12 +01:00
Benedek Racz
3ea1346012 [FIX] logging, now all logs generated into .wlog dir; [ADD] searcher_string class 2020-01-21 10:46:36 +01:00
Benedek Racz
46a206ae30 [ADD] SpawnPipe, and SpawnSocket classes 2020-01-21 09:36:46 +01:00
Benedek Racz
ba20b3f0d8 [ADD] run function 2020-01-20 13:27:40 +01:00
Benedek Racz
c7a4e092c8 [ADD] Basic features added 2020-01-20 13:26:40 +01:00
Benedek Racz
d2c07a8827 First variant of wexpect2, which is an upside down wexpect 2020-01-16 20:27:48 +01:00
Benedek Racz
e46ac7e108 [CLN] remove warning from waitnoecho 2020-01-10 13:56:03 +01:00
Benedek Racz
54fe50e5ba [CLN] refactor logger. Use offitial logging 2020-01-10 13:06:41 +01:00
Benedek Racz
b20f197cf8 [FIX] #23 : if WEXPECT_LOGGER_LEVEL environment variable is not defined, no logfile will be generated. 2020-01-10 12:46:38 +01:00
Benedek Racz
9807ad5ebc [CLN] logger level set by WEXPECT_LOGGER_LEVEL environment variable 2020-01-10 11:17:51 +01:00
Benedek Racz
763fdee569 [CLN] remove unused fields 2020-01-10 11:11:42 +01:00
Benedek Racz
b0f03ee7ae [FIX] raise EOF when child finished and all character has been read 2020-01-10 11:02:50 +01:00
Benedek Racz
6de82c8244 [FIX] try to fix: appveyor fails 2020-01-09 16:36:47 +01:00
Benedek Racz
e000ab026f [CLN] clean-up redundant timeout code from read_nonblocking 2020-01-09 16:10:52 +01:00
Benedek Racz
39cee49272 [ADD] echo argument to spawn(); #17 and #18 solved with setecho workaround. 2020-01-09 15:02:16 +01:00
Benedek Racz
54515dffb4 [FIX] Add workaround for setecho/getecho 2020-01-09 11:10:43 +01:00
Benedek Racz
1ae6ce32c1
Update README.md 2019-12-22 10:51:46 +01:00
Benedek Racz
f2822c0d42 [CLN] try - finally blocks 2019-12-06 20:43:28 +01:00
Benedek Racz
b9ab8d76a0 [REM] sendcontrol removed, this was a linux only method 2019-12-06 14:10:43 +01:00
Benedek Racz
44921d18de [ADD][TST] test join args 2019-12-06 11:37:42 +01:00
Benedek Racz
f3332108a6 [FIX]wait simply returns the previously determined exit status, in case of a non alive child; [ADD][TST] add isalive tests 2019-12-06 11:05:55 +01:00
Benedek Racz
93c130341f [ADD][TST] console reader test, [REF] clean interact methods 2019-12-05 21:52:01 +01:00