Stateful Tests with pexpect

Test File Elapsed seconds Status
interactive 17.3 0
job-control 72.1 0
signals 112.5 0

interactive


case	osh	osh-cpp	bash	dash	mksh	
0	ok	FAIL	ok	ok	ok	syntax error makes status=2
		0/5 ok			
1	ok	FAIL	ok	ok	ok	notification about background process (issue 1093)
		0/5 ok			
2	ok	FAIL	ok	ok	ok	notification about background pipeline (issue 1093)
		0/5 ok			

job-control


case	osh	osh-cpp	bash	dash	
0	ok	FAIL	ok	ok	fg twice should not result in fatal error (issue 1004)
		0/5 ok		
1	ok	FAIL	ok	ok	Call fg twice after process exits (issue 721)
		0/5 ok		
2	ok	FAIL	ok	ok	sleep 10 then Ctrl-Z then wait should not hang (issue 1005)
		0/5 ok		
3	ok	FAIL	ok	SKIP	sleep 10 then Ctrl-Z then wait -n should not hang
		0/5 ok		
4	ok	FAIL	ok	ok	ESRCH bug - pipeline with builtin
		0/5 ok		
5	ok	FAIL	ok	ok	Resuming a stopped process
		0/5 ok		
6	N-I	N-I	ok	ok	Suspend and resume a pipeline (issue 1087)
7	ok	FAIL	ok	ok	Suspend and resume a process several times
		0/5 ok		
8	ok	FAIL	ok	ok	Ctrl-Z and then look at $?
		0/5 ok		
9	ok	FAIL	ok	ok	A background job getting stopped (e.g. by SIGTTIN) or exiting should not disrupt foreground processes
		0/5 ok		
10	ok	FAIL	ok	ok	Resume the special jobs: %- and %+
		0/5 ok		
11	ok	FAIL	ok	SKIP	Resume jobs with integral job specs using `fg` builtin
		0/5 ok		
12	ok	FAIL	ok	ok	Wait using a job spec
		0/5 ok		

signals


case	osh	osh-cpp	bash	dash	mksh	
0	ok	FAIL	ok	ok	ok	Trapped SIGUSR1 while waiting at prompt (bug 1080)
		0/5 ok			
1	ok	FAIL	ok	ok	ok	Trapped USR1 and USR2 while waiting at prompt
		0/5 ok			
2	ok	FAIL	ok	ok	ok	trapped SIGHUP during wait builtin
		0/5 ok			
3	ok	FAIL	ok	ok	ok	trapped SIGINT during wait builtin
		0/5 ok			
4	ok	FAIL	ok	ok	ok	Ctrl-C after removing SIGINT trap (issue 1607)
		0/5 ok			
5	ok	FAIL	ok	ok	ok	trapped SIGWINCH during wait builtin
		0/5 ok			
6	ok	FAIL	ok	ok	ok	untrapped SIGWINCH during wait builtin (issue 1067)
		0/5 ok			
7	ok	FAIL	ok	SKIP	SKIP	untrapped SIGWINCH during wait -n
		0/5 ok			
8	ok	FAIL	ok	ok	ok	untrapped SIGWINCH during wait $!
		0/5 ok			
9	ok	FAIL	ok	ok	ok	untrapped SIGWINCH during external command
		0/5 ok			
10	ok	FAIL	ok	SKIP	ok	untrapped SIGWINCH during pipeline
		0/5 ok			
11	ok	FAIL	ok	ok	ok	Ctrl-C during external command
		0/5 ok			
12	ok	FAIL	ok	ok	SKIP	Ctrl-C during pipeline
		0/5 ok			
13	ok	FAIL	ok	ok	ok	Ctrl-C during read builtin
		0/5 ok			
14	ok	FAIL	ok	ok	ok	Ctrl-C during read -d
		0/5 ok			
15	ok	FAIL	ok	ok	ok	Ctrl-C (untrapped) during wait builtin
		0/5 ok			
16	ok	FAIL	ok	ok	ok	Ctrl-C (untrapped) during wait -n builtin
		0/5 ok			
17	ok	FAIL	ok	ok	ok	Ctrl-C (untrapped) cancels entire interactive line
		0/5 ok			
18	ok	FAIL	ok	ok	ok	Ctrl-C during Command Sub (issue 467)
		0/5 ok			
19	ok	FAIL	ok	ok	ok	Ctrl-C (untrapped) exits loop
		0/5 ok