From 19ed8b7703416b403c12ab5497a01763a97cd9ab Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Sep 29 2013 10:39:42 +0000 Subject: autofs running successfully on C6 now, some cleanup and xies to the test --- diff --git a/tests/p_autofs/10-autofs-nfs-mount.sh b/tests/p_autofs/10-autofs-nfs-mount.sh index 395eab1..c6a0ad1 100755 --- a/tests/p_autofs/10-autofs-nfs-mount.sh +++ b/tests/p_autofs/10-autofs-nfs-mount.sh @@ -8,14 +8,18 @@ cp -a /etc/auto.master /etc/auto.master_orig echo '/autofs /etc/auto.autofs' >> /etc/auto.master echo 'nfs -fstype=nfs 127.0.0.1:/var/lib' > /etc/auto.autofs -t_ServiceControl autofs start +t_ServiceControl autofs restart -t_Log 'Running test' +t_Log 'Running test - accessing /var/lib via autofs' -grep yum /autofs/nfs/ -#t_CheckExitStatus $ret_val +ls -al /autofs/nfs | grep -q yum +t_CheckExitStatus $? # return everything to previous state cp -a /etc/auto.master_orig /etc/auto.master rm -rf /etc/auto.autofs cat /dev/null > /etc/exports +t_ServiceControl autofs stop +t_ServiceControl nfs stop +t_ServiceControl rpcbind stop +