Description of problem: I had a problem with debugging one test. The test incorrectly uses rlIsRHEL "<=" 6 call but since I didn't encounter the problem on the first sight it took me several minutes to find out the root cause. IMHO the problem is that rlIsRHEL returns exit code 1 on syntax error which is similar to the case when the RHEL version simply doesn't match. E.g. __INTERNAL_rlIsDistro() contains echo $distro | grep -q "$1" || return 1 or # sanity check - version needs to consist of numbers/dots/<=> [[ "$arg" =~ ^([\<=\>]*)([0-9][0-9\.]*)$ ]] || return 1 I would propose to use different exit code (99 or so) for syntax errors. Some error message on the output would be even better. version: beakerlib-1.9-3.el6eso.noarch
fixed by https://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=fa9160a5fe33f045e7ddd3478ed404fe545d6a8f