aboutsummaryrefslogtreecommitdiff
path: root/tests/redirect.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/redirect.at')
-rw-r--r--tests/redirect.at12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/redirect.at b/tests/redirect.at
index 7860736..12fb20f 100644
--- a/tests/redirect.at
+++ b/tests/redirect.at
@@ -17,2 +17,3 @@
AT_SETUP([stdout redirection])
+AT_KEYWORDS([redirect])
@@ -21,3 +22,2 @@ PIES_XFAIL_CHECK
PIES_CONTROL_INIT
-comp_pid_file=$PWD/comp.pid
outfile=$PWD/out
@@ -26,3 +26,3 @@ component test {
mode respawn;
- command "$auxdir/respawn -tag respawn -append -pid $comp_pid_file";
+ command "echo pass";
stdout file "$outfile";
@@ -36,4 +36,4 @@ while :
do
- if test -f $comp_pid_file; then
- lines=`wc -l $comp_pid_file | awk '{print $1}'`
+ if test -f $outfile; then
+ lines=`lines $outfile`
if test "$lines" -ge 2 ; then
@@ -55,4 +55,4 @@ head -2 $outfile
[0],
-[respawn: start
-respawn: stop
+[pass
+pass
])

Return to:

Send suggestions and report system problems to the System administrator.