diff options
Diffstat (limited to 'tests/aux/retcode')
-rwxr-xr-x | tests/aux/retcode | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/aux/retcode b/tests/aux/retcode new file mode 100755 index 0000000..b827ba9 --- /dev/null +++ b/tests/aux/retcode | |||
@@ -0,0 +1,9 @@ | |||
1 | #! /bin/sh | ||
2 | |||
3 | exec >${1:?} | ||
4 | |||
5 | echo $PIES_VERSION | ||
6 | echo $PIES_COMPONENT | ||
7 | echo $PIES_PID | ||
8 | echo $PIES_STATUS | ||
9 | echo ${PIES_SIGNAL:-No signal} | ||