- if args.test == 1:
- t = Test1(traces, args.pid)
- elif args.test == 2:
- t = Test2(traces, args.pid)
- elif args.test == 3:
- t = Test3(traces, args.pid)
- elif args.test == 4:
- t = Test4(traces, args.pid)
- elif args.test == 5:
- t = Test5(traces, args.pid)
- elif args.test == 6:
- t = Test6(traces, args.pid)
- elif args.test == 7:
- t = Test7(traces, args.pid)
- elif args.test == 8:
- t = Test8(traces, args.pid)
- elif args.test == 9:
- t = Test9(traces, args.pid)
- elif args.test == 10:
+ if args.test == "working_cases":
+ t = WorkingCases(traces, test_validation_args)
+ elif args.test == "working_cases_timeout":
+ t = WorkingCasesTimeout(traces, test_validation_args)
+ elif args.test == "pselect_invalid_fd":
+ t = PselectInvalidFd(traces, test_validation_args)
+ elif args.test == "ppoll_big":
+ t = PpollBig(traces, test_validation_args)
+ elif args.test == "ppoll_fds_buffer_overflow":
+ t = PpollFdsBufferOverflow(traces, test_validation_args)
+ elif args.test == "pselect_invalid_pointer":
+ t = PselectInvalidPointer(traces, test_validation_args)
+ elif args.test == "ppoll_fds_ulong_max":
+ t = PpollFdsULongMax(traces, test_validation_args)
+ elif args.test == "epoll_pwait_invalid_pointer":
+ t = EpollPwaitInvalidPointer(traces, test_validation_args)
+ elif args.test == "epoll_pwait_int_max":
+ t = EpollPwaitIntMax(traces, test_validation_args)
+ elif args.test == "ppoll_concurrent_write":