|
96e73b55
|
update test_n task to work on 1.9.3
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
3d8bc55f
|
add back hack to achieve quicker exits on error
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
3d868615
|
remove unnecessary argument
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
77abf511
|
make spawn return block result
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
a7fc7b2f
|
remove overly complex spawn logic
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
ea18d6e8
|
require ruby 1.9.2 or better
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
cae0e527
|
version 0.5.0
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
4058f0fa
|
allow prepare to set atime/mtime
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
0b87e24e
|
added time access methods to FileMethods
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
6cd630b6
|
allow prepare to set mode
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
abb4e172
|
remove unnecessary blocks from prepare
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
1f04b9cb
|
go back to using prepare and prepare_dir
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
e8d1f071
|
version 0.4.1
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
872ca042
|
be a little defensive appending ps1 on exit
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
5128697b
|
allow on to map symbols to ENV values
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
53e9949d
|
version 0.4.0
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
f5eae4ed
|
add hompage to gemspec
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
64a91fcb
|
added example for using alternate prompts to README
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
e2fcfa4d
|
move env handling out of session
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
7ef88de1
|
minor updates to README
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
4c11a18b
|
rework methods to mark test methods for cleanup
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
3edca6e2
|
whitespace cleanup
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
d97b14cf
|
rename prepare as setup_file and prepare_dir as setup_dir
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
86a8ca28
|
add test for escaping inline prompts. closes #16
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
8fc79173
|
changed readme example that uses inputs
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
304e795d
|
convert session to rely on agent converting strings to regexps
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
ed8b72f7
|
let agent convert strings to prompt regexps
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
7748b794
|
remove prompts from agent
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
8a1aecd6
|
convert session to handle a full env
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
13e093f8
|
try to document and make the increasingly crazy spawn more reliable
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
8d6dbce8
|
centralize documentation of pty exit routes
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
da75203a
|
account for Errno::ECHILD in spawn
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
3aa58fff
|
version 0.3.0
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
577841a4
|
check existence of dir in prepare_dir closes #12
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
0a913cf4
|
oops add test for last commit
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
e8568dd8
|
merge exitstatus example with another
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
68727c9f
|
cleanup of test names in readme
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
7f258e88
|
cleanup of readme documentation
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
14471a79
|
ensure inline inputs are entered with a newline
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
2b5fa0f3
|
move around some documentation in session
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
c34d3366
|
correct typo
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
fcb47f39
|
remove default pty options
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
5a750c8e
|
documentation of StringMethods
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
fc6dc5f6
|
rename escape_non_printable_chars to expand_ctrl_chars
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
df9953ae
|
always log output
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
e05633f4
|
documentation of session
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
a44c04a1
|
cleanup terminology in agent by renaming regexps to prompts
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
3d5b5576
|
remove read as it is already done with the last step
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
fb2dae7d
|
clear the slave on exceptions to allow faster wait
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
294376c3
|
update session to use logical names for ps1/ps2
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
52234bf2
|
allow agent to resolve regexps by logical name
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
3483fee0
|
pass timer as an arg
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
48eb7134
|
set stty on spawn
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
1b3dc3ba
|
make on pass the output for the current input to callback
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
ff962d4c
|
documentation of Session
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
ab41f4fc
|
check for invalid stty
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
22a0c2dc
|
move string processiong out of session
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
98dce5cd
|
fix mistake in example
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
1fe704d2
|
leave prompts intact on output
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
80350a03
|
add time descriptions to error output
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
b05ba2dc
|
remove unused input arg
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
d5e2e1ac
|
move read to run to respect final timeout
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
8afc6ac2
|
document a detail of the stty sequence
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
dcdacab8
|
read to EOF to handle unterminated sessions
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
0d106c1b
|
require fileutils where used
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
1c2318bc
|
add last timeout to timeout message
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
6f6af4bc
|
explicitly test for timeout in unexited script
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
2f2c44b0
|
$? is implied by exit
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
f709207d
|
make session not expect output after exit
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
24b08863
|
make test shell agnostic
|
Simon Chiang <s****g@p****m>
|
almost 15 years ago
|
|
|
f27a2d14
|
document issue regarding reads after exit
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
fc6c54a5
|
factor out a spawn method for Session
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
387db18f
|
rename Session agent_status as status
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
065cfaa7
|
rename Session status to summary
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
5f8580d1
|
improve agent documentation
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
2dc84eaf
|
rename ExpectError as ReadError to compliment WriteError
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
134b67cc
|
add timeout to write
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
77c474a6
|
rename UnsatifiedError as ExpectError
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
e8c5b943
|
remove partial_len as an input to expect
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
93bc28c3
|
split reformat into two targeted methods
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
e1faf9ef
|
note 1.8.7 PTY race condition in documentation
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
5e56424e
|
use a more verbose syntax for 1.8.6
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
98532f5a
|
rework agent loop to allow for EIO exit
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
a37df80c
|
rename variables to prevent shadowing
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
7d35b2f3
|
merge
Merge commit 'd4a43b' into pty_exp
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
c9f73258
|
attempt a new strategy of not checking output after exit
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
d4a43b74
|
generalize tests to account for os differences
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
dc5fcb66
|
sketch out proper handling of status returned by spawn
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
d94ba904
|
improve spawn documentation
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
9d6f59f3
|
account for ChildExited error on cleanup wait
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
d317f664
|
remove the shim and accept a complex but portable spawn
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
cd381423
|
change spawn to return exit status
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
14abfaf1
|
update README with documentation about the EOF error
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
6055f568
|
increase max_run_time to prevent sporadic timeout before ps1
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
64b012fa
|
rework script parsing and step execution
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
0565a4e3
|
convert test_n input to_i so it actually works
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
f7f7c2ef
|
expect ps1 rather than nl to clear stty
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
44622af4
|
fix timeout into a variable
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
05f09bf8
|
update test_n to print full output to stderr
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|
|
aa2e024c
|
sketch out task for stability testing
|
Simon Chiang <s****g@g****m>
|
almost 15 years ago
|
|