30_futex.py 285 B

1234567891011121314
  1. #!/usr/bin/env python2
  2. import os, sys, mmap
  3. from regression import Regression
  4. loader = sys.argv[1]
  5. # Running futex
  6. regression = Regression(loader, "futex")
  7. regression.add_check(name="Futex Wake Test",
  8. check=lambda res: "Woke all kiddos" in res[0].out)
  9. regression.run_checks()