| skipped 279 lines |
280 | 280 | | echo " fst: File system related tests." |
281 | 281 | | echo " sys: System related tests." |
282 | 282 | | echo " sec: Security measures related tests." |
283 | | - | echo " ret: Recurren tasks (cron, timers) related tests." |
| 283 | + | echo " ret: Recurrent tasks (cron, timers) related tests." |
284 | 284 | | echo " net: Network related tests." |
285 | 285 | | echo " srv: Services related tests." |
286 | 286 | | echo " pro: Processes related tests." |
| skipped 22 lines |
309 | 309 | | if $lse_interactive; then |
310 | 310 | | cecho "${grey}---\n" |
311 | 311 | | [ -z "$lse_user" ] && lse_user=`lse_ask "Could not find current user name. Current user?"` |
312 | | - | lse_pass=`lse_ask "If you know the current user password, write it here for better results"` |
| 312 | + | lse_pass=`lse_ask "If you know the current user password, write it here to check sudo privileges"` |
313 | 313 | | cecho "${grey}---\n" |
314 | 314 | | fi |
315 | 315 | | } |
| skipped 61 lines |
377 | 377 | | return 1 |
378 | 378 | | fi |
379 | 379 | | |
380 | | - | # If level is 2 we do not execute level 2 tests unless their output needs |
381 | | - | # to be assigned to a variable |
| 380 | + | # If level is 2 and lse_level is less than 2, then we do not execute |
| 381 | + | # level 2 tests unless their output needs to be assigned to a variable |
382 | 382 | | if [ $level -ge 2 ] && [ $lse_level -lt 2 ] && [ -z "$var" ]; then |
383 | 383 | | cecho " ${grey}skip\n" |
384 | 384 | | return 1 |
| skipped 649 lines |
1034 | 1034 | | #lookup process binaries |
1035 | 1035 | | lse_proc_bin=`(ps -eo comm | sort | uniq | xargs which)2>/dev/null` |
1036 | 1036 | | |
1037 | | - | #check if we have wire permissions in any process binary |
| 1037 | + | #check if we have write permissions in any process binary |
1038 | 1038 | | lse_test "pro000" "0" \ |
1039 | 1039 | | "Can we write in any process binary?" \ |
1040 | 1040 | | 'for b in $lse_proc_bin; do [ -w "$b" ] && echo $b; done' |
| skipped 86 lines |
1127 | 1127 | | #check to see if current host is running docker services |
1128 | 1128 | | lse_test "ctn010" "1" \ |
1129 | 1129 | | "Is docker available?" \ |
1130 | | - | 'docker --version; docker ps -a' |
| 1130 | + | 'docker --version; docker ps -a; docker images' |
1131 | 1131 | | |
1132 | 1132 | | #is user a member of the docker group |
1133 | 1133 | | lse_test "ctn020" "0" \ |
| skipped 51 lines |