1
0

run-testsuite 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #!/bin/sh
  2. set -eu
  3. set -x
  4. cd src/testsuite
  5. cp /usr/sbin/ngircd T-ngircd1
  6. cp /usr/sbin/ngircd T-ngircd2
  7. cp /usr/sbin/ngircd T-ngircd3
  8. ln -s tests.sh connect-test
  9. ln -s tests.sh connect-ssl-cert1-test
  10. ln -s tests.sh connect-ssl-cert2-test
  11. ln -s tests.sh channel-test
  12. ln -s tests.sh invite-test
  13. ln -s tests.sh join-test
  14. ln -s tests.sh kick-test
  15. ln -s tests.sh message-test
  16. ln -s tests.sh misc-test
  17. ln -s tests.sh mode-test
  18. ln -s tests.sh opless-channel-test
  19. ln -s tests.sh server-link-test
  20. ln -s tests.sh server-login-test
  21. ln -s tests.sh who-test
  22. ln -s tests.sh whois-test
  23. for TEST in \
  24. start-server1 \
  25. connect-test \
  26. start-server2 \
  27. channel-test \
  28. invite-test \
  29. join-test \
  30. kick-test \
  31. message-test \
  32. misc-test \
  33. mode-test \
  34. opless-channel-test \
  35. who-test \
  36. whois-test \
  37. server-link-test \
  38. server-login-test \
  39. stop-server2 \
  40. stress-server.sh \
  41. stop-server1 \
  42. prep-server3 \
  43. start-server3 \
  44. connect-ssl-cert1-test \
  45. switch-server3 \
  46. reload-server3 \
  47. connect-ssl-cert2-test \
  48. cleanup-server3 \
  49. stop-server3 \
  50. ; do
  51. ./$TEST
  52. done