From b3ea015bd22e762a99d2510ddac6c42ed5ee20db Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: May 19 2014 12:33:28 +0000 Subject: Fixed a failing test for p_diffutils (see the bugzilla report in the file) that was fixed for the diffutils package in el7 --- diff --git a/tests/p_diffutils/20-diff-tests b/tests/p_diffutils/20-diff-tests index eaf6993..aba4f8e 100755 --- a/tests/p_diffutils/20-diff-tests +++ b/tests/p_diffutils/20-diff-tests @@ -340,8 +340,12 @@ mv "$DIRTEST"/a/lao "$DIRTEST"/a/LAO echo "Checking --ignore-file-name-case" echo "see https://bugzilla.redhat.com/show_bug.cgi?id=719001" echo "If this fails then the bug has been fixed" -diff --ignore-file-name-case "$DIRTEST"/a "$DIRTEST"/b | cmp "$FILES"/dir_case -t_CheckExitStatus $? +if [ "$centos_ver" = "7" ];then + echo SKIP +else + diff --ignore-file-name-case "$DIRTEST"/a "$DIRTEST"/b | cmp "$FILES"/dir_case + t_CheckExitStatus $? +fi # Check the --to-file option echo "Checking the --to-file option against a file"