• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Gallopsled / pwntools / 1

16 Jun 2020 04:28AM UTC coverage: 0.0% (-69.4%) from 69.405%
1

push

github

heapcrash
Re-enable UI tests in Github Actions

I suspect this will not work because of curses failing to initialize in GHA

0 of 15570 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/pwnlib/commandline/update.py
1
#!/usr/bin/env python
2
from __future__ import absolute_import
×
3
from __future__ import division
×
4

5
import subprocess
×
6

7
import pwnlib
×
8
pwnlib.args.free_form = False
×
9

10
from pwn import *
×
11
from pwnlib.commandline import common
×
12

13
p = common.parser_commands.add_parser(
×
14
    'update',
15
    help = 'Check for pwntools updates'
16
)
17

18
p.add_argument('--install', action='store_true', help='''
×
19
    Install the update automatically.
20
''')
21

22
p.add_argument('--pre', action='store_true', help='''
×
23
    Check for pre-releases.
24
''')
25

26
def main(a):
×
27
    result = pwnlib.update.perform_check(prerelease=a.pre)
×
28
    if result and a.install:
×
29
        subprocess.check_call(result, shell=False)
×
30

31
if __name__ == '__main__':
×
32
    pwnlib.commandline.common.main(__file__)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc