From ce9a704361c0a3638e46911eb5275c02e6a5d9ab Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 9 Oct 2013 12:08:49 +0200 Subject: tests/basic/rpm.t: fix script error introduced by commit a66bf679 The if-clause will always return false, causing each regression test to build the rpms. The following error is listed on the Jenkins Console Output of the regression test: ./tests/basic/rpm.t: line 42: [: argument expected BUG: 904005 Change-Id: I343c80d8c57fa0ec8b8a531bb5f5c86209d88d7e CC: Harshavardhana Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/6057 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY Reviewed-by: Harshavardhana Tested-by: Harshavardhana --- tests/basic/rpm.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/basic/rpm.t b/tests/basic/rpm.t index a914d536c..a577726a8 100755 --- a/tests/basic/rpm.t +++ b/tests/basic/rpm.t @@ -39,7 +39,7 @@ fi BUILD_FILES=$(git diff --name-status ${GIT_PARENT} | grep -Ev '^M.*\.(c|h|py)' | awk {'print $2'}) SELFTEST=$(grep -e 'tests/basic/rpm.t' <<< "${BUILD_FILES}") BUILD_FILES=$(grep -Ev '^tests/' <<< "${BUILD_FILES}") -if [ -z "${BUILD_FILES}" -a -z "${SELFTEST}"] +if [ -z "${BUILD_FILES}" -a -z "${SELFTEST}" ] then # nothing affecting packaging changed, no need to retest rpmbuild SKIP_TESTS -- cgit