+for i in 1 2 3; do
+ get_mig_info $i ${cwd}/tmp/log1.out
+
+ if [ "$i" -eq 1 -a -n "$RET" ]; then
+ bstat=2
+ print_debug "The first job should not have been copied"
+
+ elif [ "$i" -ne 1 -a -z "$RET" ]; then
+ bstat=2
+ print_debug "Other job should have been copied"
+ fi
+done
+