# This file is part of cfpeek -*- autotest -*- # Copyright (C) 2011-2021 Sergey Poznyakoff # # Cfpeek is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # Cfpeek is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with cfpeek. If not, see . AT_SETUP([Up option]) CFPEEK_TEST([ user smith; group mail; pidfile "/var/run/example"; logging { facility daemon; tag example; } program a { command "a.out"; logging { facility local0; tag a; } } program b { command "b.out"; wait yes; pidfile /var/run/b.pid; } ], [cfpeek -Hup=1,nodescend,novalue @ .*.wait=yes], [EX_OK], [.program="b" ]) AT_CLEANUP