Skip to content
Snippets Groups Projects
Commit 2de07f39 authored by Menno Norden's avatar Menno Norden
Browse files

bug 1315: Modified for multiple TBB boards correct testing

parent 6ccda81b
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
rm -f tbb_memory*.log rm -f tbb_memory*.log
rm -f tbb_memory*.diff rm -f tbb_memory*.diff
if [ -e /opt/lofar/etc/RemoteStation.conf ]; then if [ -e /opt/lofar/etc/RemoteStation.conf ]; then
let tbboards=`sed -n 's/^\s*RS\.N_TBBOARDS\s*=\s*\([0-9][0-9]*\).*$/\1/p' /opt/lofar/etc/RemoteStation.conf` let tbboards=`sed -n 's/^\s*RS\.N_TBBOARDS\s*=\s*\([0-9][0-9]*\).*$/\1/p' /opt/lofar/etc/RemoteStation.conf`
else else
...@@ -26,6 +27,7 @@ for ((ind=0; ind < $tbboards; ind++)) do ...@@ -26,6 +27,7 @@ for ((ind=0; ind < $tbboards; ind++)) do
echo "TBB memory ($ind) test went OK" echo "TBB memory ($ind) test went OK"
else else
echo "TBB memory ($ind) test went wrong" echo "TBB memory ($ind) test went wrong"
cp tbb_memory$ind.log tbb_memory.log
fi fi
done done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment