From f66082c78797fc3dd5ecf5edf924f5de413a882b Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Feb 05 2012 14:10:40 +0000 Subject: Exclude c5 because tftp_anon_write boolean is not defined --- diff --git a/tests/p_tftp-server/20-tftp-server_put-test.sh b/tests/p_tftp-server/20-tftp-server_put-test.sh index 29a4136..e12619a 100755 --- a/tests/p_tftp-server/20-tftp-server_put-test.sh +++ b/tests/p_tftp-server/20-tftp-server_put-test.sh @@ -16,8 +16,11 @@ echo "t_functional_test" > put_test touch $TFTP_DIR/put_test chmod 666 $TFTP_DIR/put_test -# Fix selinux bool -setsebool tftp_anon_write 1 +# Fix selinux bool on c6 +if (t_GetPkgRel basesystem | grep -q el6) +then + setsebool tftp_anon_write 1 +fi tftp 127.0.0.1 -c put put_test