summaryrefslogtreecommitdiffabout
path: root/tests/aux/touchfile
authorSergey Poznyakoff <gray@gnu.org>2019-05-24 14:07:22 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-05-24 14:10:34 (GMT)
commita8d45eff28e7e186d0749e3e9cf980a23d93231e (patch) (side-by-side diff)
tree50eb85966b6d87f73128728dab876e36dcc67799 /tests/aux/touchfile
parent2ba31eb953d18bb818a87caddcbca80bc8a1d37d (diff)
downloadpies-a8d45eff28e7e186d0749e3e9cf980a23d93231e.tar.gz
pies-a8d45eff28e7e186d0749e3e9cf980a23d93231e.tar.bz2
Implement shutdown components
* src/pies.h: Update comment. * src/progman.c (register_prog0): Register shutdown components in disabled state. (program_shutdown): New function. (progman_stop): Call program_shutdown. * tests/shutdown.at: New test. * tests/Makefile.am: Add new test. * tests/testsuite.at: Likewise. * tests/aux/startup: Rename to tests/aux/touchfile * tests/startup.at: Reflect the change.
Diffstat (limited to 'tests/aux/touchfile') (more/less context) (ignore whitespace changes)
-rwxr-xr-xtests/aux/touchfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/aux/touchfile b/tests/aux/touchfile
new file mode 100755
index 0000000..b9d92a3
--- a/dev/null
+++ b/tests/aux/touchfile
@@ -0,0 +1,7 @@
+#!/bin/sh
+dir=${1:?}
+time=${2:?}
+tag=${3:?}
+
+touch $dir/$tag
+sleep $time

Return to:

Send suggestions and report system problems to the System administrator.