messages
@$out $tmp/log1.out
status client
+@$out $tmp/log111.out
+sql
+select 'ERROR', Name, Uname, Plugins from Client WHERE Uname = '';
+
+
@$out $tmp/log2.out
status storage
@$out $tmp/log3.out
estat=1
fi
-grep "No Jobs running" $tmp/log10.out > /dev/null
-if [ $? -ne 0 ]; then
- print_debug "ERROR: should find 'No Jobs running' in $tmp/log10.out"
- estat=1
-fi
-
grep "SDPort=" $tmp/log11.out > /dev/null
if [ $? -ne 0 ]; then
print_debug "ERROR: should find 'SDPort' in $tmp/log11.out"
estat=1
fi
+nb=`grep "ERROR" $tmp/log111.out | wc -l`
+if [ $nb -gt 1 ]; then
+ print_debug "ERROR: Should find Uname updated after status client in $tmp/log111.out"
+ estat=1
+fi
+
end_test