Red Hat Bugzilla – Bug 840084
REBOOTCOUNT not documented
Last modified: 2016-05-31 21:43:23 EDT
Description of problem:
Looking through the Beaker documentation I was not able to find
any mention about the REBOOTCOUNT variable which is quite useful
for tasks which require the system to be rebooted to detect
whether the reboot already happened.
This is implemented in rhts-test-runner.sh:
138 if [ ! -e "/var/cache/rhts/$TESTID/reboot" ]; then
139 mkdir -p /var/cache/rhts/$TESTID
140 export REBOOTCOUNT=0
141 echo 1 > /var/cache/rhts/$TESTID/reboot
143 export REBOOTCOUNT=$(cat /var/cache/rhts/$TESTID/reboot)
144 echo $(expr $REBOOTCOUNT + 1) > /var/cache/rhts/$TESTID/reboot
Please, document this in the Beaker Deployment Guide. Thanks.
Beaker 0.9.2 has been released.