Home
last modified time | relevance | path

Searched +full:re +full:- +full:run (Results 1 – 25 of 1036) sorted by relevance

12345678910>>...42

/freebsd/crypto/krb5/src/tests/
H A Dt_princflags.py3 import re
8 emptyattr = re.compile('^Attributes:$', re.MULTILINE)
13 return re.compile('^Attributes: ' + ftuple.flagname() + '$',
14 re.MULTILINE)
20 realm.run([kadminl, 'ank', ftuple.setspec(),
21 '-pw', 'password', 'test'])
22 out = realm.run([kadminl, 'getprinc', 'test'])
26 realm.run([kadminl, 'modprinc', ftuple.clearspec(), 'test'])
27 out = realm.run([kadminl, 'getprinc', 'test'])
30 realm.run([kadminl, 'delprinc', 'test'])
[all …]
H A Dt_mkey.py3 import re
8 aes256 = 'aes256-cts-hmac-sha1-96'
9 aes128 = 'aes128-cts-hmac-sha1-96'
10 des3 = 'des3-cbc-sha1'
18 nprincs = len(realm.run([kadminl, 'listprincs']).splitlines())
25 list_mkeys_re = re.compile(r'^KVNO: (\d+), Enctype: (\S+), '
29 outlines = realm.run([kdb5_util, 'list_mkeys']).splitlines()[1:]
51 keyline_re = re.compile(r'^Key: vno (\d+), (\S+)$')
53 outlines = realm.run([kadminl, 'getprinc', 'K/M']).splitlines()
74 klist_re = re.compile(r'^\s*(\d+) K/M@KRBTEST.COM \((\S+)\)')
[all …]
H A Dt_renew.py3 import re
14 flags = ['-l', life]
16 flags += ['-r', rlife]
18 out = realm.run([klist, '-f'])
24 flags = re.findall(r'Flags: ([a-zA-Z]*)', out)[0]
28 fail('%s: ticket unexpectedly non-renewable' % testname)
31 times = re.findall(r'\d\d/\d\d/\d\d \d\d:\d\d:\d\d', out)
40 life = (endtime - starttime).seconds
41 if abs(life - exp_life) > 5:
50 rlife = (rtime - starttime).seconds
[all …]
H A Dt_iprop.py2 import re
22 old_sno = new_sno = -1
29 m = re.match(r'Calling iprop_get_updates_1 \(sno=(\d+) ', line)
37 m = re.match(r'Got incremental updates \(sno=(\d+) ', line)
90 out = realm.run([kproplog], env=env)
101 ser = first - 1
104 m = re.match(r'\tUpdate serial # : (\d+)$', line)
109 m = re.match(r'\tUpdate principal : (.*)$', line)
111 eprinc = entries[ser - first]
117 eprinc = entries[ser - first]
[all …]
H A Dt_kdcpolicy.py3 import re
19 realm.run([kadminl, 'addprinc', '-pw', password('fail'), 'fail'])
22 times = re.findall(r'\d\d/\d\d/\d\d \d\d:\d\d:\d\d', out)
30 if str((endtime - starttime) * divisor) != target_time:
32 if str((renewtime - endtime) * divisor) != target_time:
39 rflags = ['-r', '1d', '-l', '12h']
43 rflags + ['-X', 'indicators=SEVEN_HOURS'])
44 realm.run([kvno, realm.host_princ])
45 realm.run(['./adata', realm.host_princ], expected_msg='+97: [SEVEN_HOURS]')
46 out = realm.run([klist, '-e', realm.ccache])
[all …]
H A Dt_kdcoptions.py2 import re
22 # Run klist -f and return the flags on the ticket for svcprinc.
25 for line in realm.run([klist, '-f']).splitlines():
27 return re.findall(r'Flags: ([a-zA-Z]*)', line)[0]
32 # element and an expected-absent element, either of which can be None.
41 # Run kinit with the given flags, and check the flags on the resulting
48 # Run kinit with kflags. Then get credentials for the host principal
52 realm.run(['./gcred'] + gflags + ['unknown', realm.host_princ])
60 kinit_check_flags(realm, ['-p'], 'P', None)
61 realm.run([kadminl, 'modprinc', '-allow_proxiable', realm.user_princ])
[all …]
H A Dt_salt.py2 import re
6 # Check that a non-default salt type applies only to the key it is
8 # and salt is a non-default salt type.
11 realm.run([kadminl, 'ank', '-e', keysalts, '-pw', 'password', 'user'])
12 out = realm.run([kadminl, 'getprinc', 'user'])
13 if len(re.findall(':' + salt, out)) != 1:
15 realm.run([kadminl, 'delprinc', 'user'])
17 # Enctype/salt pairs chosen with non-default salt types.
19 salts = [('des3-cbc-sha1', 'norealm'),
20 ('arcfour-hmac', 'onlyrealm'),
[all …]
H A Dt_sesskeynego.py2 import re
4 # Run "kvno server" with a fresh set of client tickets, then check that the
6 etypes_re = re.compile(r'server@[^\n]+\n\tEtype \(skey, tkt\): '
10 realm.run([kvno, 'server'])
11 output = realm.run([klist, '-e'])
14 fail('could not parse etypes from klist -e output')
21 conf1 = {'libdefaults': {'default_tgs_enctypes': 'aes128-cts,aes256-cts'}}
22 conf2 = {'libdefaults': {'default_tgs_enctypes': 'aes256-cts,aes128-cts'}}
25 'default_tkt_enctypes': 'aes128-cts',
26 'default_tgs_enctypes': 'rc4-hmac,aes128-cts'}}
[all …]
/freebsd/crypto/krb5/src/util/
H A Dcstyle.py24 # attributable to the changes a series of git commits. It can be run
29 import re
34 u = ['Usage: cstyle [-w] [rev|rev1..rev2]',
38 'changes in rev or the series rev1..rev2. With the -w option,',
44 # Run a command and return a list of its output lines.
45 def run(args): function
58 # Find the top level of the git working tree, or None if we're not in
76 line_re = re.compile(r'^\s*(\d+) (.*)$')
88 p2 = Popen([sys.executable, 'src/util/cstyle-file.py'], stdin=p1.stdout,
109 chunk_header_re = re.compile(r'^@@ -\d+(,(\d+))? \+(\d+)(,(\d+))? @@')
[all …]
/freebsd/contrib/kyua/bootstrap/
H A Dtestsuite.at36 # test suite may be run outside of the source tree (think distcheck).
37 while test $(pwd) != '/' -a ! -e bootstrap/plain_helpers; do
52 ln -s $(GUESS_TOPDIR)/bootstrap/atf_helpers atf_helpers
55 [HOME=$(pwd) TESTS="$1" kyua --config=none \
56 test --results-file=bootstrap.db $2])
65 ln -s $(GUESS_TOPDIR)/bootstrap/plain_helpers plain_helpers
68 [HOME=$(pwd) HELPER="$1" kyua --config=none \
69 test --results-file=bootstrap.db])
77 re='plain_helpers:__test_cases_list__.*broken.*Test program received signal'
78 AT_CHECK([grep "${re}" stdout], [0], [ignore], [])
[all …]
/freebsd/crypto/krb5/doc/tools/
H A Ddoxybuilder_types.py27 import re
74 def run(self, filename, include=None): member in DoxyTypes
79 @param include: members sections to include, in None -- include all
112 t_definition = re.sub('KRB5_CALLCONV_C', '', t_definition)
113 t_definition = re.sub('KRB5_CALLCONV', '', t_definition)
114 t_definition = re.sub(r'\*', '\\*', t_definition)
162 v_definition = re.sub('KRB5_CALLCONV_C', '', v_definition)
163 v_definition = re.sub('KRB5_CALLCONV', '', v_definition)
164 v_definition = re.sub(r'\*', '\\*', v_definition)
196 d_signature = re.sub(r', \)', ')', d_signature).strip()
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_json_test_utils.py32 import re
43 change from run to run.
48 return re.sub(r'^\d+(\.\d+)?s$', '*', value)
50 return re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$', '*', value)
52 value = re.sub(r'^.*[/\\](.*:)\d+\n', '\\1*\n', value)
53 return re.sub(r'Stack trace:\n(.|\n)*', 'Stack trace:\n*', value)
55 value = re.sub(r'^.*[/\\](.*:)\d+\n', '\\1*\n', value)
56 return re.sub(r'Stack trace:\n(.|\n)*', 'Stack trace:\n*', value)
58 return re.sub(r'^.*[/\\](.*)', '\\1', value)
H A Dgtest_xml_test_utils.py32 import re
54 convertible to a floating-point number and any attribute named
55 "type_param" which only has to be non-empty.
139 CDATA sections and non-whitespace text nodes are concatenated into a single
160 child_id = child.parentNode.getAttribute('name') + '-properties'
187 """Normalizes XML that may change from run to run.
190 information that may change from run to run.
198 single asterisk (if it sn non-empty) as it is the type name returned
213 source_file.value = re.sub(r'^.*[/\\](.*)', '\\1', source_file.value)
216 timestamp.value = re.sub(
[all …]
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dgenerate-ci-type.py7 - the *last* commit message contains 'ZFS-CI-Type: quick'
9 - the files changed are not in the list of specified directories, and
10 - all commit messages do not contain 'ZFS-CI-Type: full'
17 import re
23 FULL_RUN_IGNORE_REGEX = list(map(re.compile, [
31 FULL_RUN_REGEX = list(map(re.compile, [
40 r'copy-builtin',
62 print(f'{prog}: will run {type} CI: {reason}', file=sys.stderr)
67 last_commit_message_raw = subprocess.run([
68 'git', 'show', '-s', '--format=%B', 'HEAD'
[all …]
/freebsd/contrib/one-true-awk/testdir/
H A DT.recache1 echo T.recache: test re cache in b.c
4 awk=${awk-../a.out}
10 # Fill up DFA cache with run-time REs that have all been
20 # Now evalutate an expression that uses two run-time REs
21 # that have never been used before. The second RE will
22 # push the first out of the cache while the first RE is
/freebsd/tools/tools/shlib-compat/
H A Dshlib-compat.py2 #-
31 import re
57 if outname and outname != '-':
91 self.re_exclude = [ re.compile(x) for x in self.exclude ]
92 self.re_include = [ re.compile(x) for x in self.include ]
159 self.added = self.new - self.common
160 self.removed = self.orig - self.common
170 def run(self, obj): member in PrettyPrinter
341 t = pp.run(self.type)
394 t = pp.run(self.type)
[all …]
/freebsd/usr.sbin/rtsold/
H A Drtsold.841 .Op Fl M Ar script-name
42 .Op Fl O Ar script-name
43 .Op Fl A Ar script-name
45 .Op Fl R Ar script-name
49 .Op Fl M Ar script-name
50 .Op Fl O Ar script-name
51 .Op Fl A Ar script-name
53 .Op Fl R Ar script-name
57 .Op Fl M Ar script-name
58 .Op Fl O Ar script-name
[all …]
/freebsd/contrib/libxo/doc/
H A Dgetting.rst18 We're using `Semantic Versioning`_ to number our releases. libxo is
22 the "*master*" branch. To clone a developer tree, run the following
25 git clone https://github.com/Juniper/libxo.git -b develop
29 http://nvie.com/posts/a-successful-git-branching-model
35 -----------------------------
42 green "Latest release" button and the green "libxo-RELEASE.tar.gz"
49 tar -zxf libxo-RELEASE.tar.gz
50 cd libxo-RELEASE
54 Note: for Solaris users, your "`tar`" command lacks the "-z" flag,
55 so you'll need to substitute "`gzip -dc $file | tar xf -`" instead
[all …]
/freebsd/share/examples/ppp/
H A Dppp.conf.sample23 # This section is *not* pre-loaded by the ``load'' or ``dial'' commands.
34 OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
41 # is required by the server either using a unix-style login procedure
46 # use a unix-style login script:
61 # This entry also works with static IP numbers or when not in -auto mode.
64 # The "set ifaddr" is required in -auto mode only.
65 # It's better to put the ``add'' line in ppp.linkup when not in -auto mode.
72 # The login script shown says that you're expecting ``ogin:''. If you
80 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
86 # If you want to use PAP or CHAP instead of using a unix-style login
[all …]
H A Dppp.linkup.sample18 # It is no longer necessary to re-add the default route here as our
20 # If you're into sound effects when the link comes up, you can run
33 # nice things such as kick off "sendmail -q", "popclient my.isp" and
34 # "slurp -d news". It can be passed MYADDR, HISADDR and INTERFACE
35 # as arguments too - useful for informing a DNS of your assigned IP.
38 # you're running will take some time or will require network
40 # of the program being run!
46 ! sh -c "cat /etc/ppp/linkup.au >/dev/audio"
53 !bg sh -c "sleep 240; pppctl -p mypassword 3000 set timeout 60"
/freebsd/contrib/libpcap/pcap/
H A Dfuncattrs.h1 /* -*- Mode: c; tab-width: 8; indent-tabs-mode: 1; c-basic-offset: 8; -*- */
38 #include <pcap/compiler-tests.h>
42 * compiler-specific extensions.
61 * if we're building it as a DLL, we have to declare API
64 * if we're building it as a static library, we don't want
69 * if we're using the DLL, calls to its functions are a
70 * little more efficient if they're declared with
73 * if we're not using the dll, we don't want to declare
88 * We're compiling libpcap as a DLL, so we should export functions
94 * We're using libpcap as a DLL, so the calls will be a little more
[all …]
/freebsd/contrib/mandoc/
H A DINSTALL4 --------------------------------------
25 ------------
37 run the command "echo BUILD_CGI=1 >> configure.local".
38 Then run "cp cgi.h.example cgi.h" and edit cgi.h as desired.
40 2. If you also want to build the catman(8) utility, run the
42 is unlikely to be a drop-in replacement providing the same
50 4. Run "./configure".
55 a file "configure.local", and re-run "./configure" until the
58 5. Run "make".
59 Any POSIX-compatible make, in particular both BSD make and GNU make,
[all …]
/freebsd/contrib/expat/
H A DMakefile.am9 # Copyright (c) 2017-2025 Sebastian Pipping <sebastian@pipping.org>
14 # Copyright (c) 2024 Dag-Erling Smørgrav <des@des.dev>
37 dist-bzip2 \
38 dist-lzip \
39 dist-xz \
41 subdir-objects
43 ACLOCAL_AMFLAGS = -I m4
44 LIBTOOLFLAGS = --verbose
65 cmake/autotools/expat-config-version.cmake \
66 cmake/autotools/expat-noconfig.cmake \
[all …]
/freebsd/crypto/krb5/src/lib/rpc/unit-test/
H A Dt_rpc.py1 import re
7 server = realm.start_server(['./server', '-t'], 'running')
9 portstr = re.match(r'^port: (\d+)$', line).group(1)
11 realm.run(['./client', '-t', hostname, portstr, 'host@' + hostname, '1026'],
22 realm.run(['./client', '-t', hostname, portstr, 'nokey@' + hostname, '1026'],
/freebsd/contrib/ntp/ntpd/
H A Dntpd-opts.def1 /* -*- Mode: Text -*- */
7 prog-name = "ntpd";
8 prog-title = "set clock via Network Time Protocol daemon";
11 #include ntpdbase-opts.def
14 explain = <<- _END_EXPLAIN
17 doc-section = {
18 ds-type = 'DESCRIPTION';
19 ds-format = 'mdoc';
20 ds-text = <<- _END_PROG_MDOC_DESCRIP
27 Network Time Protocol (NTP) version 4, as defined by RFC-5905,
[all …]

12345678910>>...42