Guest User

Untitled

a guest
Dec 10th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. echo "Starting Promotions Dupont Test Run"
  2. echo "Starting in `pwd`"
  3. source env.sh
  4. p4 sync
  5. d=`date +%Y%m%d%H%M%S`
  6. echo "Date: ${d}"
  7. status=0
  8. if test 0 -eq $status; then
  9. natw -Dproject=prom101JbossOraRhLx -Dtest.runner.priority=Priority0 > nat.log 2>&1
  10. status=$?
  11. cp -p nat.log log/nat_p0_${d}
  12. fi
  13. if test 0 -eq $status; then
  14. natw -Dproject=prom101JbossOraRhLx -Dtest.runner.priority=Priority1 > nat.log 2>&1
  15. status=$?
  16. cp -p nat.log log/nat_p1_${d}
  17. fi
  18. if test 0 -eq $status; then
  19. natw -Dproject=prom101JbossOraRhLx -Dtest.runner.priority=Priority2 > nat.log 2>&1
  20. status=$?
  21. cp -p nat.log log/nat_p2_${d}
  22. fi
  23. if test 0 -eq $status; then
  24. natw -Dproject=prom101JbossOraRhLx -Dtest.runner.priority=Priority3 > nat.log 2>&1
  25. status=$?
  26. cp -p nat.log log/nat_p3_${d}
  27. fi
  28. if test 0 -eq $status; then
  29. natw -Dproject=prom101JbossOraRhLx -Dtest.runner.priority=Priority4 > nat.log 2>&1
  30. status=$?
  31. cp -p nat.log log/nat_p4_${d}
  32. fi
  33. echo "Promotions Dupont Test Run Completed"
Add Comment
Please, Sign In to add comment