aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-05-31 09:41:34 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-05-31 09:41:34 +0300
commit1f28935841a69aa8be7eb2e88f580df9c95206d2 (patch)
tree9b94992c29801fc64fe4e1fbcf47345c61c3c6aa
parent058f256a6f41fc9c36404b2e22580546e4f55b33 (diff)
downloadpies-1f28935841a69aa8be7eb2e88f580df9c95206d2.tar.gz
pies-1f28935841a69aa8be7eb2e88f580df9c95206d2.tar.bz2
Minor fix
* tests/shell.at: Append to the outfile instead of overwriting it.
-rw-r--r--tests/shell.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shell.at b/tests/shell.at
index 0ef2271..2f06f62 100644
--- a/tests/shell.at
+++ b/tests/shell.at
@@ -21,13 +21,13 @@ PIES_XFAIL_CHECK
PIES_CONTROL_INIT
outfile=$PWD/respawn.out
cat > pies.conf <<_EOT
component test {
mode respawn;
flags shell;
- command "$auxdir/respawn -tag respawn > $outfile";
+ command "$auxdir/respawn -tag respawn >> $outfile";
}
_EOT
pies --config-file control.conf --config-file pies.conf
n=0
@@ -45,13 +45,13 @@ do
echo >&2 "timed out"
break
fi
done
PIES_STOP
-head -n3 $outfile
+head -n2 $outfile
],
[0],
[respawn: start
respawn: stop
])

Return to:

Send suggestions and report system problems to the System administrator.