summaryrefslogtreecommitdiffabout
path: root/tests/retcode
Side-by-side diff
Diffstat (limited to 'tests/retcode') (more/less context) (ignore whitespace changes)
-rwxr-xr-xtests/retcode9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/retcode b/tests/retcode
new file mode 100755
index 0000000..b827ba9
--- a/dev/null
+++ b/tests/retcode
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+exec >${1:?}
+
+echo $PIES_VERSION
+echo $PIES_COMPONENT
+echo $PIES_PID
+echo $PIES_STATUS
+echo ${PIES_SIGNAL:-No signal}

Return to:

Send suggestions and report system problems to the System administrator.