Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed tests do not produce a non-zero exit code #4

Closed
ChrisTimperley opened this issue May 27, 2019 · 1 comment
Closed

Failed tests do not produce a non-zero exit code #4

ChrisTimperley opened this issue May 27, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ChrisTimperley
Copy link
Owner

Running test: n1...                                           [UNEXPECTED: PASS]

    /challenge/tools /challenge
    # /challenge/build/challenges/AIS-Lite/pov_1.pov
    # using seed: 11df20aa7c7af21662f6a0d7d50ea39ac24581058c04ea1196a45347dd088430bec9c56f630583856ea7554c9743946c
    # negotiation type: 1
    # type 1 masks: 00000000 00000000
    # type 1 pov: 00000000 00000000 0
    # [DEBUG] pid: 61, sig: 11
    # Process generated signal (pid: 61, signal: 11)
    # register states - eip:8049934 fs:0 gs:63 esp:ff998164 ss:2b edi:0 eax:30303030 ebp:ff998168 es:2b cs:23 eflags:10206 edx:30303030 ebx:f7f29000 ds:2b esi:7 ecx:f7f3304c
    # END REPLAY
    FAIL: 1
@ChrisTimperley ChrisTimperley added the bug Something isn't working label May 27, 2019
@ChrisTimperley ChrisTimperley self-assigned this May 27, 2019
@ChrisTimperley
Copy link
Owner Author

ChrisTimperley commented May 27, 2019

This test is roughly translated into the following shell command:

$ python cb-replay-pov.py "${test_file}" \
  --cbs "${bin_challenge}" \
  --negotiate \
  --pov_seed 0 \
  --timeout ${timeout}

where ${test_file} resolves to /challenge/build/challenges/AIS-Lite/pov_1.pov, ${bin_challenge} resolves to /challenge/build/challenges/AIS-Lite/AIS-Lite, and ${timeout} resolves to 20.

$ python cb-replay-pov.py       /challenge/build/challenges/AIS-Lite/pov_1.pov       --cbs /challenge/build/challenges/AIS-Lite/AIS-Lite       --negotiate       --pov_seed 0       --timeout 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant