unrealircd

- supernets unrealircd source & configuration
git clone git://git.acid.vegas/unrealircd.git
Log | Files | Refs | Archive | README | LICENSE

run-tests.bbwrapper (430B)

      1 #!/bin/bash
      2 #
      3 # This is a simple wrapper script that will run the tests
      4 # When finished, either due to succes or failure,
      5 # it will kill the ircd
      6 #
      7 # Also, it makes sure the job times out (is killed)
      8 # in case it misbehaves
      9 #
     10 set +ex
     11 timeout --kill-after=5 900 extras/build-tests/nix/run-tests
     12 EX="$?"
     13 killall -9 valgrind valgrind.bin memcheck memcheck-amd64-linux memcheck-x86-linux ircd unrealircd val 1>/dev/null 2>&1
     14 exit $EX