diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2019-08-07 09:17:13 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2019-08-07 09:17:13 -0300 |
commit | 5732da2af736c40cf693354485446ab4867ecb4d (patch) | |
tree | 76d76cdfa16ca62d20fb109da13895ec64fff110 /test/fixtures | |
parent | 9cd22d1df8f0f5b554858471c86faa9f37b8fed4 (diff) | |
download | bash-completion-5732da2af736c40cf693354485446ab4867ecb4d.tar.gz |
New upstream version 2.9upstream/2.9
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/_known_hosts_real/known_hosts | 1 | ||||
-rw-r--r-- | test/fixtures/_longopt/grep--help.txt | 70 | ||||
-rwxr-xr-x | test/fixtures/dnssec-keygen/dnssec-keygen | 76 | ||||
-rw-r--r-- | test/fixtures/gdb/core | 0 | ||||
-rw-r--r-- | test/fixtures/gdb/core-NOT | 0 | ||||
-rw-r--r-- | test/fixtures/gdb/core.12345 | 0 | ||||
-rw-r--r-- | test/fixtures/gdb/core.weston.1000.deadbeef.5308.1555362132000000 | 0 | ||||
-rw-r--r-- | test/fixtures/gdb/corenot | 0 |
8 files changed, 147 insertions, 0 deletions
diff --git a/test/fixtures/_known_hosts_real/known_hosts b/test/fixtures/_known_hosts_real/known_hosts index 0d6f5025..646b5b6a 100644 --- a/test/fixtures/_known_hosts_real/known_hosts +++ b/test/fixtures/_known_hosts_real/known_hosts @@ -1,6 +1,7 @@ |1|abc |1|def doo +# this is a comment ike ssh-rsa qwerty1234/Qwerty+1234== jub,10.0.0.1 @cert-authority kyl,100.0.0.2 xxxfoo diff --git a/test/fixtures/_longopt/grep--help.txt b/test/fixtures/_longopt/grep--help.txt new file mode 100644 index 00000000..92662563 --- /dev/null +++ b/test/fixtures/_longopt/grep--help.txt @@ -0,0 +1,70 @@ +Usage: grep [OPTION]... PATTERN [FILE]... +Search for PATTERN in each FILE. +Example: grep -i 'hello world' menu.h main.c + +Pattern selection and interpretation: + -E, --extended-regexp PATTERN is an extended regular expression + -F, --fixed-strings PATTERN is a set of newline-separated strings + -G, --basic-regexp PATTERN is a basic regular expression (default) + -P, --perl-regexp PATTERN is a Perl regular expression + -e, --regexp=PATTERN use PATTERN for matching + -f, --file=FILE obtain PATTERN from FILE + -i, --ignore-case ignore case distinctions + -w, --word-regexp force PATTERN to match only whole words + -x, --line-regexp force PATTERN to match only whole lines + -z, --null-data a data line ends in 0 byte, not newline + +Miscellaneous: + -s, --no-messages suppress error messages + -v, --invert-match select non-matching lines + -V, --version display version information and exit + --help display this help text and exit + +Output control: + -m, --max-count=NUM stop after NUM selected lines + -b, --byte-offset print the byte offset with output lines + -n, --line-number print line number with output lines + --line-buffered flush output on every line + -H, --with-filename print file name with output lines + -h, --no-filename suppress the file name prefix on output + --label=LABEL use LABEL as the standard input file name prefix + -o, --only-matching show only the part of a line matching PATTERN + -q, --quiet, --silent suppress all normal output + --binary-files=TYPE assume that binary files are TYPE; + TYPE is 'binary', 'text', or 'without-match' + -a, --text equivalent to --binary-files=text + -I equivalent to --binary-files=without-match + -d, --directories=ACTION how to handle directories; + ACTION is 'read', 'recurse', or 'skip' + -D, --devices=ACTION how to handle devices, FIFOs and sockets; + ACTION is 'read' or 'skip' + -r, --recursive like --directories=recurse + -R, --dereference-recursive likewise, but follow all symlinks + --include=FILE_PATTERN search only files that match FILE_PATTERN + --exclude=FILE_PATTERN skip files and directories matching FILE_PATTERN + --exclude-from=FILE skip files matching any file pattern from FILE + --exclude-dir=PATTERN directories that match PATTERN will be skipped. + -L, --files-without-match print only names of FILEs with no selected lines + -l, --files-with-matches print only names of FILEs with selected lines + -c, --count print only a count of selected lines per FILE + -T, --initial-tab make tabs line up (if needed) + -Z, --null print 0 byte after FILE name + +Context control: + -B, --before-context=NUM print NUM lines of leading context + -A, --after-context=NUM print NUM lines of trailing context + -C, --context=NUM print NUM lines of output context + -NUM same as --context=NUM + --color[=WHEN], + --colour[=WHEN] use markers to highlight the matching strings; + WHEN is 'always', 'never', or 'auto' + -U, --binary do not strip CR characters at EOL (MSDOS/Windows) + +When FILE is '-', read standard input. With no FILE, read '.' if +recursive, '-' otherwise. With fewer than two FILEs, assume -h. +Exit status is 0 if any line is selected, 1 otherwise; +if any error occurs and -q is not given, the exit status is 2. + +Report bugs to: bug-grep@gnu.org +GNU grep home page: <http://www.gnu.org/software/grep/> +General help using GNU software: <http://www.gnu.org/gethelp/> diff --git a/test/fixtures/dnssec-keygen/dnssec-keygen b/test/fixtures/dnssec-keygen/dnssec-keygen new file mode 100755 index 00000000..882cd97c --- /dev/null +++ b/test/fixtures/dnssec-keygen/dnssec-keygen @@ -0,0 +1,76 @@ +#!/bin/sh + +cat <<\EOF >&2 +Usage: + dnssec-keygen [options] name + +Version: 9.11.3-1ubuntu1.5-Ubuntu + name: owner of the key +Options: + -K <directory>: write keys into directory + -a <algorithm>: + RSA | RSAMD5 | DSA | RSASHA1 | NSEC3RSASHA1 | NSEC3DSA | + RSASHA256 | RSASHA512 | ECCGOST | + ECDSAP256SHA256 | ECDSAP384SHA384 | + ED25519 | ED448 | DH | + HMAC-MD5 | HMAC-SHA1 | HMAC-SHA224 | HMAC-SHA256 | + HMAC-SHA384 | HMAC-SHA512 + (default: RSASHA1, or NSEC3RSASHA1 if using -3) + -3: use NSEC3-capable algorithm + -b <key size in bits>: + RSAMD5: [512..4096] + RSASHA1: [512..4096] + NSEC3RSASHA1: [512..4096] + RSASHA256: [512..4096] + RSASHA512: [1024..4096] + DH: [128..4096] + DSA: [512..1024] and divisible by 64 + NSEC3DSA: [512..1024] and divisible by 64 + ECCGOST: ignored + ECDSAP256SHA256: ignored + ECDSAP384SHA384: ignored + ED25519: ignored + ED448: ignored + HMAC-MD5: [1..512] + HMAC-SHA1: [1..160] + HMAC-SHA224: [1..224] + HMAC-SHA256: [1..256] + HMAC-SHA384: [1..384] + HMAC-SHA512: [1..512] + (if using the default algorithm, key size + defaults to 2048 for KSK, or 1024 for all others) + -n <nametype>: ZONE | HOST | ENTITY | USER | OTHER + (DNSKEY generation defaults to ZONE) + -c <class>: (default: IN) + -d <digest bits> (0 => max, default) + -E <engine>: + name of an OpenSSL engine to use + -f <keyflag>: KSK | REVOKE + -g <generator>: use specified generator (DH only) + -L <ttl>: default key TTL + -p <protocol>: (default: 3 [dnssec]) + -r <randomdev>: a file containing random data + -s <strength>: strength value this key signs DNS records with (default: 0) + -T <rrtype>: DNSKEY | KEY (default: DNSKEY; use KEY for SIG(0)) + -t <type>: AUTHCONF | NOAUTHCONF | NOAUTH | NOCONF (default: AUTHCONF) + -h: print usage and exit + -m <memory debugging mode>: + usage | trace | record | size | mctx + -v <level>: set verbosity level (0 - 10) + -V: print version information +Timing options: + -P date/[+-]offset/none: set key publication date (default: now) + -P sync date/[+-]offset/none: set CDS and CDNSKEY publication date + -A date/[+-]offset/none: set key activation date (default: now) + -R date/[+-]offset/none: set key revocation date + -I date/[+-]offset/none: set key inactivation date + -D date/[+-]offset/none: set key deletion date + -D sync date/[+-]offset/none: set CDS and CDNSKEY deletion date + -G: generate key only; do not set -P or -A + -C: generate a backward-compatible key, omitting all dates + -S <key>: generate a successor to an existing key + -i <interval>: prepublication interval for successor key (default: 30 days) +Output: + K<name>+<alg>+<id>.key, K<name>+<alg>+<id>.private +EOF +exit 255 diff --git a/test/fixtures/gdb/core b/test/fixtures/gdb/core new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/fixtures/gdb/core diff --git a/test/fixtures/gdb/core-NOT b/test/fixtures/gdb/core-NOT new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/fixtures/gdb/core-NOT diff --git a/test/fixtures/gdb/core.12345 b/test/fixtures/gdb/core.12345 new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/fixtures/gdb/core.12345 diff --git a/test/fixtures/gdb/core.weston.1000.deadbeef.5308.1555362132000000 b/test/fixtures/gdb/core.weston.1000.deadbeef.5308.1555362132000000 new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/fixtures/gdb/core.weston.1000.deadbeef.5308.1555362132000000 diff --git a/test/fixtures/gdb/corenot b/test/fixtures/gdb/corenot new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/fixtures/gdb/corenot |