Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#45 Incorrect testing if 'at' command is installed

Commands
open
nobody
Testcases (27)
5
2010-03-24
2010-03-24
tstanisl
No

Scripts at_allow01 and at_deny01 contain incorrect usage of 'if' command. Command 'type at' returns 0 (true) if 'at' command is installed. Therefore conditional command:
if type at > /dev/null; then
tst_resm TCONF "at command not found on system"
elif...
generated communicate "at command not found on system" when 'at' is actually installed. The attachment contains patch that fixes overmentioned problem.

Discussion