summaryrefslogtreecommitdiffabout
path: root/tests/startup.at
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/startup.at
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/startup.at') (more/less context) (ignore whitespace changes)
-rw-r--r--tests/startup.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/startup.at b/tests/startup.at
index 72017ce..440c249 100644
--- a/tests/startup.at
+++ b/tests/startup.at
@@ -24,12 +24,12 @@ comp_pid_file=$PWD/comp.pid
cat > pies.conf <<_EOT
component b1 {
mode startup;
- command "$auxdir/startup $PWD 1 b1";
+ command "$auxdir/touchfile $PWD 1 b1";
}
component b2 {
mode startup;
- command "$auxdir/startup $PWD 2 b2";
+ command "$auxdir/touchfile $PWD 2 b2";
}
component test {

Return to:

Send suggestions and report system problems to the System administrator.