From 5e7263d5769fdec5cdc9fd8a9e73611c14714edd Mon Sep 17 00:00:00 2001 From: Christian Perrier Date: Sat, 27 Jul 2013 18:38:24 +0200 Subject: Drop tests/ from the debian branch --- tests/cptools/08_cppw-p/cppw.test | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100755 tests/cptools/08_cppw-p/cppw.test (limited to 'tests/cptools/08_cppw-p/cppw.test') diff --git a/tests/cptools/08_cppw-p/cppw.test b/tests/cptools/08_cppw-p/cppw.test deleted file mode 100755 index d4ee8646..00000000 --- a/tests/cptools/08_cppw-p/cppw.test +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -set -e - -cd $(dirname $0) - -. ../../common/config.sh -. ../../common/log.sh - -log_start "$0" "cppw -p option" - -save_config - -# restore the files on exit -trap 'log_status "$0" "FAILURE"; restore_config' 0 - -change_config - -echo -n "Use cppw -p (cppw -p data/passwd)..." -cppw -p data/passwd -echo "OK" - -echo -n "Check the passwd file..." -../../common/compare_file.pl data/passwd /etc/passwd -echo "OK" -echo -n "Check the group file..." -../../common/compare_file.pl config/etc/group /etc/group -echo "OK" -echo -n "Check the shadow file..." -../../common/compare_file.pl config/etc/shadow /etc/shadow -echo "OK" -echo -n "Check the gshadow file..." -../../common/compare_file.pl config/etc/gshadow /etc/gshadow -echo "OK" - -log_status "$0" "SUCCESS" -restore_config -trap '' 0 - -- cgit v1.2.1