You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
511 B

#!/bin/bash
# Author: Iain Douglas <centos@1n6.org.uk>
#
# Basic tests for the shadow utils package. Check that the /etc/default
# directory and /etc/default/useradd files exist.
t_Log "Running $0 Basic tests"
echo "Check packace files exist"
[[ -d /etc/default ]] || { t_Log "FAIL: /etc/default missing"; exit $FAIL; }
[[ -e /etc/default/useradd ]] || { t_Log "FAIL: /etc/default/useradd missing"; exit $FAIL; }
[[ -e /etc/login.defs ]] || { t_Log "FAIL: /etc/login.defs missing"; exit $FAIL; }
t_Log "PASS"