3 # Copyright (C) 2000-2017 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
8 # Do more than 32 reloads to make sure the Director
9 # survives too many reloads
11 TestName="many-reload-test"
22 cat <<END_OF_DATA >${tmp}/bconcmds
75 $bin/bacula-dir -t $conf/bacula-dir.conf
78 print_debug "ERROR: Error on bacula-dir.conf"
81 $bin/bacula-ctl-dir start >/dev/null
82 pid=`cat $working/bacula-dir.$BASEPORT.pid`
84 # echo "bacula-dir pid is $pid"
88 ls -l /proc/$pid/fd | grep bacula-dir.conf
91 print_debug "ERROR: Should not have bacula-dir.conf open"
97 $bin/bacula-ctl-dir stop >/dev/null