Browse Source

fixed the check in commit-tests to see if FIPS test should run

John Safranek 9 years ago
parent
commit
98db39a913
1 changed files with 1 additions and 1 deletions
  1. 1 1
      commit-tests.sh

+ 1 - 1
commit-tests.sh

@@ -31,7 +31,7 @@ make -j 8 test;
 RESULT=$?
 [ $RESULT -ne 0 ] && echo -e "\n\nFull config make test failed" && exit 1
 
-if [ $HAVE_FIPS_SOURCE ];
+if [ -n "$HAVE_FIPS_SOURCE" ];
 then
     echo -e "\n\nTesting with FIPS release code...\n\n"
     ./fips-check.sh