From e01a2be058e841ab74e365a0f3f232ca75834b5f Mon Sep 17 00:00:00 2001 From: Menno Norden <norden@astron.nl> Date: Tue, 28 Apr 2009 11:25:02 +0000 Subject: [PATCH] Bug #1315: remove only tbb log files --- StationTest/tbb_version.sh | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/StationTest/tbb_version.sh b/StationTest/tbb_version.sh index 595d4eec4a2..3f8e8063442 100644 --- a/StationTest/tbb_version.sh +++ b/StationTest/tbb_version.sh @@ -1,16 +1,16 @@ -#!/bin/bash - -# -# Get version info from the TBB boards and compare this with the expected golden result. -# - -rm -f *.log -rm -f *.diff -tbbctl --version --select=0,1 > tbb_version.log -diff tbb_version.log gold/tbb_version.gold > tbb_version.diff -if [ -e tbb_version.log ] && [ -e gold/tbb_version.gold ] && [ -e tbb_version.diff ] && ! [ -s tbb_version.diff ]; then - # The files exists AND has the diff size 0 - echo "TBB version test went OK" -else - echo "TBB version test went wrong" -fi +#!/bin/bash + +# +# Get version info from the TBB boards and compare this with the expected golden result. +# + +rm -f tbb_version.log +rm -f tbb_version.diff +tbbctl --version > tbb_version.log +diff tbb_version.log gold/tbb_version.gold > tbb_version.diff +if [ -e tbb_version.log ] && [ -e gold/tbb_version.gold ] && [ -e tbb_version.diff ] && ! [ -s tbb_version.diff ]; then + # The files exists AND has the diff size 0 + echo "TBB version test went OK" +else + echo "TBB version test went wrong" +fi -- GitLab