Bug 31294 - 00_base/54checkmachineupdate seems to be wrong
00_base/54checkmachineupdate seems to be wrong
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-06 20:27 CEST by Stefan Gohmann
Modified: 2018-04-14 13:47 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2013-05-06 20:27:26 CEST
The test case 00_base/54checkmachineupdate looks wrong:

1. The test should be executed on Master, Backupd and Slaves but the test requires the package univention-server-master
## roles:
##  - domaincontroller_master
##  - domaincontroller_slave
##  - domaincontroller_backup
## packages:
##  - univention-server-master

2. The test case runs /usr/lib/univention-server/server_password_change and checks by return code if the machine.secret was written:

/usr/lib/univention-server/server_password_change >/dev/null
if [ $? -eq 1 ]
then
    echo "***machine.secret was not written, everything is fine"
    exit 100
else
    echo "***An Error occured."
    exit 110
fi