From a5ab0252a49377805072c3922c93bb53c30dd891 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Mar 27 2015 14:09:13 +0000 Subject: Modified the file/string to search for new centos-release for 7 --- diff --git a/tests/r_pdf/01_pdf-test.sh b/tests/r_pdf/01_pdf-test.sh index 2f91401..9a3cf46 100755 --- a/tests/r_pdf/01_pdf-test.sh +++ b/tests/r_pdf/01_pdf-test.sh @@ -3,7 +3,11 @@ t_Log "Running $0 - Create PDF from postscript from text, and convert PDF back to text and check contents" -FILE=/etc/redhat-release +if [ "$centos_ver" = "5" ] ;then + FILE=/etc/redhat-release +else + FILE=/etc/centos-release +fi FIND='CentOS' PS_FILE=/var/tmp/test.ps PDF_FILE=/var/tmp/test.pdf