build.sh: avoid too many argument warning when test diff exit

Change-Id: I8875a643278d2ec9f8d4c950e6989d2364cee45e