Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/a/ack/ack_3.4.0-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ack-3.4.0-1h6ffuii4/ack_3.4.0-1_all.buildinfo Get source package info: ack=3.4.0-1 Source URL: http://snapshot.notset.fr/mr/package/ack/3.4.0-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-1 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.34-8 binutils-common=2.34-8 binutils-x86-64-linux-gnu=2.34-8 bsdextrautils=2.35.2-6 bsdutils=1:2.35.2-6 build-essential=12.8 bzip2=1.0.8-3 coreutils=8.32-2 cpp=4:9.2.1-3.1 cpp-9=9.3.0-14 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.1 debianutils=4.11 dh-autoreconf=19 dh-strip-nondeterminism=1.8.1-1 diffutils=1:3.7-3 dmsetup=2:1.02.167-1+b1 dpkg=1.20.2 dpkg-dev=1.20.2 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 g++=4:9.2.1-3.1 g++-9=9.3.0-14 gcc=4:9.2.1-3.1 gcc-10-base=10.1.0-4 gcc-9=9.3.0-14 gcc-9-base=9.3.0-14 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 less=551-1 libacl1=2.2.53-8 libalgorithm-diff-perl=1.19.03-2 libarchive-zip-perl=1.68-1 libargon2-1=0~20171227-0.2 libasan5=9.3.0-14 libatomic1=10.1.0-4 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.34-8 libblkid1=2.35.2-6 libbz2-1.0=1.0.8-3 libc-bin=2.30-8 libc-dev-bin=2.30-8 libc6=2.30-8 libc6-dev=2.30-8 libcap-ng0=0.7.9-2.2 libcapture-tiny-perl=0.48-1 libcc1-0=10.1.0-4 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libcryptsetup12=2:2.3.3-1 libctf-nobfd0=2.34-8 libctf0=2.34-8 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.252 libdebhelper-perl=13.1 libdevmapper1.02.1=2:1.02.167-1+b1 libdpkg-perl=1.20.2 libelf1=0.176-1.1 libffi7=3.3-4 libfile-next-perl=1.18-1 libfile-stripnondeterminism-perl=1.8.1-1 libgcc-9-dev=9.3.0-14 libgcc-s1=10.1.0-4 libgcrypt20=1.8.5-5 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.3-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.1.0-4 libgpg-error0=1.38-1 libicu67=67.1-2 libio-pty-perl=1:1.12-1 libisl22=0.22.1-1 libitm1=10.1.0-4 libjson-c4=0.13.1+dfsg-9 liblsan0=10.1.0-4 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.35.2-6 libmpc3=1.1.0-1 libmpfr6=4.0.2-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libquadmath0=10.1.0-4 libseccomp2=2.4.3-1+b1 libselinux1=3.0-1+b3 libsigsegv2=2.12-2 libsmartcols1=2.35.2-6 libssl1.1=1.1.1g-1 libstdc++-9-dev=9.3.0-14 libstdc++6=10.1.0-4 libsub-override-perl=0.09-2 libsystemd0=245.6-1 libtest-differences-perl=0.67-1 libtest-pod-perl=1.52-1 libtext-diff-perl=1.45-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10.1.0-4 libubsan1=10.1.0-4 libuchardet0=0.0.7-1 libudev1=245.6-1 libunistring2=0.9.10-4 libuuid1=2.35.2-6 libxml2=2.9.10+dfsg-5+b1 linux-libc-dev=5.7.6-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-3 man-db=2.9.3-1 mawk=1.3.4.20200120-2 ncurses-base=6.2-1 ncurses-bin=6.2-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-doc=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 util-linux=2.35.2-6 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200629T084301Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d ack=3.4.0-1 && mkdir -p /build/ack-xD3x3T && dpkg-source --no-check -x /*.dsc /build/ack-xD3x3T/ack-3.4.0 && chown -R builduser:builduser /build/ack-xD3x3T" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ack-xD3x3T/ack-3.4.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1593566733" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ack-xD3x3T /tmp/ack-3.4.0-1h6ffuii4 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200629T084301Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.GuWgvP4y40 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.GuWgvP4y40 Reading package lists... Building dependency tree... util-linux is already the newest version (2.35.2-6). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200629T084301Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200629T084301Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 1s (136 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4632 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.30-8) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200629T084301Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.GuWgvP4y40 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200629T084301Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1176 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.GuWgvP4y40 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ack=3.4.0-1 && mkdir -p /build/ack-xD3x3T && dpkg-source --no-check -x /*.dsc /build/ack-xD3x3T/ack-3.4.0 && chown -R builduser:builduser /build/ack-xD3x3T"' exec /tmp/mmdebstrap.GuWgvP4y40 Reading package lists... NOTICE: 'ack' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/perl-team/modules/packages/ack.git Please use: git clone https://salsa.debian.org/perl-team/modules/packages/ack.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 268 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ack 3.4.0-1 (dsc) [2114 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ack 3.4.0-1 (tar) [251 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ack 3.4.0-1 (diff) [14.5 kB] Fetched 268 kB in 0s (815 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ack_3.4.0-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ack in /build/ack-xD3x3T/ack-3.4.0 dpkg-source: info: unpacking ack_3.4.0.orig.tar.gz dpkg-source: info: unpacking ack_3.4.0-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying no-standalone-test-but-autopkgtests.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ack-xD3x3T/ack-3.4.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1593566733" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.GuWgvP4y40 dpkg-buildpackage: info: source package ack dpkg-buildpackage: info: source version 3.4.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Axel Beckert dpkg-source --before-build . debian/rules clean dh clean debian/rules override_dh_clean make[1]: Entering directory '/build/ack-xD3x3T/ack-3.4.0' dh_clean --exclude=t/swamp/ make[1]: Leaving directory '/build/ack-xD3x3T/ack-3.4.0' debian/rules binary-indep dh binary-indep dh_update_autotools_config -i dh_autoreconf -i dh_auto_configure -i perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -fdebug-prefix-map=/build/ack-xD3x3T/ack-3.4.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/build/ack-xD3x3T/ack-3.4.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro" Running Perl v5.30.3 at /usr/bin/perl Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for ack Writing MYMETA.yml and MYMETA.json dh_auto_build -i make -j4 make[1]: Entering directory '/build/ack-xD3x3T/ack-3.4.0' cp lib/App/Ack/Filter/IsGroup.pm blib/lib/App/Ack/Filter/IsGroup.pm cp lib/App/Ack/Files.pm blib/lib/App/Ack/Files.pm cp lib/App/Ack.pm blib/lib/App/Ack.pm cp lib/App/Ack/Filter/Inverse.pm blib/lib/App/Ack/Filter/Inverse.pm cp lib/App/Ack/ConfigDefault.pm blib/lib/App/Ack/ConfigDefault.pm cp lib/App/Ack/ConfigLoader.pm blib/lib/App/Ack/ConfigLoader.pm cp lib/App/Ack/Filter.pm blib/lib/App/Ack/Filter.pm cp lib/App/Ack/Filter/Default.pm blib/lib/App/Ack/Filter/Default.pm cp lib/App/Ack/Filter/Is.pm blib/lib/App/Ack/Filter/Is.pm cp lib/App/Ack/Filter/ExtensionGroup.pm blib/lib/App/Ack/Filter/ExtensionGroup.pm cp lib/App/Ack/Filter/IsPath.pm blib/lib/App/Ack/Filter/IsPath.pm cp lib/App/Ack/Filter/MatchGroup.pm blib/lib/App/Ack/Filter/MatchGroup.pm cp lib/App/Ack/Filter/FirstLineMatch.pm blib/lib/App/Ack/Filter/FirstLineMatch.pm cp lib/App/Ack/Filter/Extension.pm blib/lib/App/Ack/Filter/Extension.pm cp lib/App/Ack/Filter/Collection.pm blib/lib/App/Ack/Filter/Collection.pm cp lib/App/Ack/Filter/Match.pm blib/lib/App/Ack/Filter/Match.pm cp lib/App/Ack/ConfigFinder.pm blib/lib/App/Ack/ConfigFinder.pm cp lib/App/Ack/Filter/IsPathGroup.pm blib/lib/App/Ack/Filter/IsPathGroup.pm cp lib/App/Ack/File.pm blib/lib/App/Ack/File.pm cp ack blib/script/ack "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/ack Manifying 1 pod document make[1]: Leaving directory '/build/ack-xD3x3T/ack-3.4.0' dh_auto_test -i make -j4 test TEST_VERBOSE=1 make[1]: Entering directory '/build/ack-xD3x3T/ack-3.4.0' Manifying 1 pod document "/usr/bin/perl" t/runtests.pl "" 1 "blib/lib" "blib/arch" t/*.t Running tests on blib/script/ack, AUTOPKGTEST_TMP= # Testing ack v3.4.0 under Perl v5.30.3, /usr/bin/perl # Debian settings: AUTOPKGTEST_TMP=, blibs=blib # Using File::Next 1.18 # Using File::Spec 3.78 # Using Getopt::Long 2.5 # Using Pod::Perldoc 3.2801 # Using Pod::Text 4.11 # Using Pod::Usage 1.69 # Using Term::ANSIColor 4.06 # Using Test::Harness 3.42 # Using Test::More 1.302162 # PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/bin t/00-load.t .................. 1..20 ok 1 - All external modules loaded ok 2 - use App::Ack ok 3 - use App::Ack::Filter::Match ok 4 - use App::Ack::Filter::Inverse ok 5 - use App::Ack::Filter::Is ok 6 - use App::Ack::Filter::IsGroup ok 7 - use App::Ack::Filter::Default ok 8 - use App::Ack::Filter::MatchGroup ok 9 - use App::Ack::Filter::FirstLineMatch ok 10 - use App::Ack::Filter::Collection ok 11 - use App::Ack::Filter::ExtensionGroup ok 12 - use App::Ack::Filter::IsPathGroup ok 13 - use App::Ack::Filter::IsPath ok 14 - use App::Ack::Filter::Extension ok 15 - use App::Ack::ConfigFinder ok 16 - use App::Ack::Files ok 17 - use App::Ack::Filter ok 18 - use App::Ack::File ok 19 - use App::Ack::ConfigDefault ok 20 - use App::Ack::ConfigLoader ok t/ack-1.t .................... 1..12 ok 1 - Should have no output to stderr: ack Montresor -1 -h --sort-files t/text # Subtest: Util::lists_match( Looking for first instance of Montresor! ) 1..1 ok 1 - Looking for first instance of Montresor! ok 2 - Util::lists_match( Looking for first instance of Montresor! ) ok 3 - Should have no output to stderr: ack c -1 -h -v t/text/raven.txt # Subtest: Util::lists_match( Looking for first non-match ) 1..1 ok 1 - Looking for first non-match ok 4 - Util::lists_match( Looking for first non-match ) ok 5 - Should have no output to stderr: ack -1 -f t/swamp ok 6 - Should only get one file back ok 7 - One of the files from the swamp ok 8 - Should have no output to stderr: ack -1 -g \bMakefile\b t/ ok 9 - Should only get one file back from \bMakefile\b ok 10 - The one file matches one of the two Makefile files ok 11 - Should have no output to stderr: ack -1 -l --sort-files the t/text ok 12 - Should only get one matching file back ok t/ack-c.t .................... 1..6 # Subtest: Util::ack_sets_match( God counts, God, -c, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack God -c --sort-files t/text # Subtest: Util::sets_match( God counts ) 1..1 # Subtest: Util::lists_match( God counts ) 1..1 ok 1 - God counts ok 1 - Util::lists_match( God counts ) ok 2 - Util::sets_match( God counts ) ok 1 - Util::ack_sets_match( God counts, God, -c, --sort-files, t/text ) # Subtest: Util::ack_sets_match( God counts, total only, God, -c, --sort-files, --no-filename, t/text ) 1..2 ok 1 - Should have no output to stderr: ack God -c --sort-files --no-filename t/text # Subtest: Util::sets_match( God counts, total only ) 1..1 # Subtest: Util::lists_match( God counts, total only ) 1..1 ok 1 - God counts, total only ok 1 - Util::lists_match( God counts, total only ) ok 2 - Util::sets_match( God counts, total only ) ok 2 - Util::ack_sets_match( God counts, total only, God, -c, --sort-files, --no-filename, t/text ) # Subtest: Util::ack_sets_match( Non-the counts, the, -i, -w, -v, -c, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack the -i -w -v -c --sort-files t/text # Subtest: Util::sets_match( Non-the counts ) 1..1 # Subtest: Util::lists_match( Non-the counts ) 1..1 ok 1 - Non-the counts ok 1 - Util::lists_match( Non-the counts ) ok 2 - Util::sets_match( Non-the counts ) ok 3 - Util::ack_sets_match( Non-the counts, the, -i, -w, -v, -c, --sort-files, t/text ) # Subtest: Util::ack_sets_match( congress counts with -l -c, congress, -i, -l, -c, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack congress -i -l -c --sort-files t/text # Subtest: Util::sets_match( congress counts with -l -c ) 1..1 # Subtest: Util::lists_match( congress counts with -l -c ) 1..1 ok 1 - congress counts with -l -c ok 1 - Util::lists_match( congress counts with -l -c ) ok 2 - Util::sets_match( congress counts with -l -c ) ok 4 - Util::ack_sets_match( congress counts with -l -c, congress, -i, -l, -c, --sort-files, t/text ) # Subtest: Util::ack_sets_match( ack -c -h should return one line of results, Montresor, -c, -h, t/text ) 1..2 ok 1 - Should have no output to stderr: ack Montresor -c -h t/text # Subtest: Util::sets_match( ack -c -h should return one line of results ) 1..1 # Subtest: Util::lists_match( ack -c -h should return one line of results ) 1..1 ok 1 - ack -c -h should return one line of results ok 1 - Util::lists_match( ack -c -h should return one line of results ) ok 2 - Util::sets_match( ack -c -h should return one line of results ) ok 5 - Util::ack_sets_match( ack -c -h should return one line of results, Montresor, -c, -h, t/text ) # Subtest: Util::ack_sets_match( ack -c -h should return one line of results, Montresor, -c, -h, t/text/amontillado.txt ) 1..2 ok 1 - Should have no output to stderr: ack Montresor -c -h t/text/amontillado.txt # Subtest: Util::sets_match( ack -c -h should return one line of results ) 1..1 # Subtest: Util::lists_match( ack -c -h should return one line of results ) 1..1 ok 1 - ack -c -h should return one line of results ok 1 - Util::lists_match( ack -c -h should return one line of results ) ok 2 - Util::sets_match( ack -c -h should return one line of results ) ok 6 - Util::ack_sets_match( ack -c -h should return one line of results, Montresor, -c, -h, t/text/amontillado.txt ) ok t/ack-color.t ................ 1..15 ok 1 - Should have no output to stderr: ack free --color t/text/bill-of-rights.txt ok 2 ok 3 - Should have no output to stderr: ack (free).*\1 --color t/text/bill-of-rights.txt ok 4 - backref pattern matches once ok 5 ok 6 - Should have no output to stderr: ack free --colour t/text/bill-of-rights.txt ok 7 ok 8 - Should have no output to stderr: ack az.+?e|ser.+?nt -w --color t/text/amontillado.txt ok 9 ok 10 - Should have no output to stderr: ack (Temp)(ter) --color t/text/raven.txt ok 11 # Subtest: Heading colors, single line 1..4 ok 1 - Should have no output to stderr: ack mighty -i -w --color -H t/text/ozymandias.txt ok 2 ok 3 - Should have no output to stderr: ack mighty -i -w --color -H --column t/text/ozymandias.txt ok 4 ok 12 - Heading colors, single line # Subtest: Heading colors, grouped 1..4 ok 1 - Should have no output to stderr: ack mighty -i -w --color --group t/text ok 2 ok 3 - Should have no output to stderr: ack mighty -i -w --color --group --column t/text ok 4 ok 13 - Heading colors, grouped # Subtest: Passing args for colors 1..2 ok 1 - Should have no output to stderr: ack mighty -i -w --color --group --column --color-match=cyan on_red --color-filename=red --color-lineno=bold white on_green --color-colno=bold blue t/text ok 2 ok 14 - Passing args for colors # Subtest: Filename colors with count 1..6 ok 1 - Filename colored by default ok 2 - Color is now red ok 3 - Should have no output to stderr: ack Congress --count --with-filename --color-filename=red t/text/bill-of-rights.txt ok 4 - Filename not colored when output is redirected ok 5 - Should have no output to stderr: ack Congress --count --with-filename --color-filename=red --color t/text/bill-of-rights.txt ok 6 - Filename colored when output is redirected and '--color' is used ok 15 - Filename colors with count ok t/ack-column.t ............... 1..4 ok 1 - Should have no output to stderr: ack nevermore -w -i --with-filename --noenv --column t/text/raven.txt # Subtest: Util::lists_match( Checking column numbers ) 1..1 ok 1 - Checking column numbers ok 2 - Util::lists_match( Checking column numbers ) ok 3 - Should have no output to stderr: ack nevermore -w -i --with-filename --noenv --no-column t/text/raven.txt # Subtest: Util::lists_match( Checking without column numbers ) 1..1 ok 1 - Checking without column numbers ok 4 - Util::lists_match( Checking without column numbers ) ok t/ack-f.t .................... 1..6 # Subtest: Util::ack_sets_match( DEFAULT_DIR_EXCLUSIONS, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp # Subtest: Util::sets_match( DEFAULT_DIR_EXCLUSIONS ) 1..1 # Subtest: Util::lists_match( DEFAULT_DIR_EXCLUSIONS ) 1..1 ok 1 - DEFAULT_DIR_EXCLUSIONS ok 1 - Util::lists_match( DEFAULT_DIR_EXCLUSIONS ) ok 2 - Util::sets_match( DEFAULT_DIR_EXCLUSIONS ) ok 1 - Util::ack_sets_match( DEFAULT_DIR_EXCLUSIONS, -f, t/swamp ) ok 2 - -f with matches exits with 0 # Subtest: Util::ack_sets_match( COMBINED_FILTERS, -f, t/swamp, -t, perl, -t, rake ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp -t perl -t rake # Subtest: Util::sets_match( COMBINED_FILTERS ) 1..1 # Subtest: Util::lists_match( COMBINED_FILTERS ) 1..1 ok 1 - COMBINED_FILTERS ok 1 - Util::lists_match( COMBINED_FILTERS ) ok 2 - Util::sets_match( COMBINED_FILTERS ) ok 3 - Util::ack_sets_match( COMBINED_FILTERS, -f, t/swamp, -t, perl, -t, rake ) ok 4 - -f with matches exits with 0 # Subtest: Util::ack_sets_match( EXIT_CODE, -f, t/swamp, --type-add=baz:ext:baz, -t, baz ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp --type-add=baz:ext:baz -t baz # Subtest: Util::sets_match( EXIT_CODE ) 1..1 # Subtest: Util::lists_match( EXIT_CODE ) 1..1 ok 1 - EXIT_CODE ok 1 - Util::lists_match( EXIT_CODE ) ok 2 - Util::sets_match( EXIT_CODE ) ok 5 - Util::ack_sets_match( EXIT_CODE, -f, t/swamp, --type-add=baz:ext:baz, -t, baz ) ok 6 - -f with no matches exits with 1 ok t/ack-files-from.t ........... 1..6 # Subtest: Basic reading from files, no switches 1..1 # Subtest: Util::ack_lists_match( Looking for strict in multiple files, --files-from=/tmp/fRenfN2liX, strict ) 1..2 ok 1 - Should have no output to stderr: ack --files-from=/tmp/fRenfN2liX strict # Subtest: Util::lists_match( Looking for strict in multiple files ) 1..1 ok 1 - Looking for strict in multiple files ok 2 - Util::lists_match( Looking for strict in multiple files ) ok 1 - Util::ack_lists_match( Looking for strict in multiple files, --files-from=/tmp/fRenfN2liX, strict ) ok 1 - Basic reading from files, no switches # Subtest: Non-existent file specified 1..3 ok 1 - No STDOUT for non-existent file ok 2 - One line of STDERR for non-existent file ok 3 - Correct warning message for non-existent file ok 2 - Non-existent file specified # Subtest: Source file exists, but non-existent files mentioned in the file 1..4 ok 1 - One hit found ok 2 - Find the one line in the file ok 3 - One line of STDERR for non-existent file ok 4 - Correct warning message for non-existent file ok 3 - Source file exists, but non-existent files mentioned in the file # Subtest: -l and --files-from 1..1 # Subtest: Util::ack_sets_match( Looking for God files, --files-from=/tmp/qo21M6TbC4, God, -l ) 1..2 ok 1 - Should have no output to stderr: ack --files-from=/tmp/qo21M6TbC4 God -l # Subtest: Util::sets_match( Looking for God files ) 1..1 # Subtest: Util::lists_match( Looking for God files ) 1..1 ok 1 - Looking for God files ok 1 - Util::lists_match( Looking for God files ) ok 2 - Util::sets_match( Looking for God files ) ok 1 - Util::ack_sets_match( Looking for God files, --files-from=/tmp/qo21M6TbC4, God, -l ) ok 4 - -l and --files-from # Subtest: -L and --files-from 1..1 # Subtest: Util::ack_sets_match( Looking for absence of God, --files-from=/tmp/MY6QT3uz5b, God, -L ) 1..2 ok 1 - Should have no output to stderr: ack --files-from=/tmp/MY6QT3uz5b God -L # Subtest: Util::sets_match( Looking for absence of God ) 1..1 # Subtest: Util::lists_match( Looking for absence of God ) 1..1 ok 1 - Looking for absence of God ok 1 - Util::lists_match( Looking for absence of God ) ok 2 - Util::sets_match( Looking for absence of God ) ok 1 - Util::ack_sets_match( Looking for absence of God, --files-from=/tmp/MY6QT3uz5b, God, -L ) ok 5 - -L and --files-from # Subtest: -c and --files-from 1..1 # Subtest: Util::ack_sets_match( Looking for God files, --files-from=/tmp/5ZE5GVNFvp, God, -c ) 1..2 ok 1 - Should have no output to stderr: ack --files-from=/tmp/5ZE5GVNFvp God -c # Subtest: Util::sets_match( Looking for God files ) 1..1 # Subtest: Util::lists_match( Looking for God files ) 1..1 ok 1 - Looking for God files ok 1 - Util::lists_match( Looking for God files ) ok 2 - Util::sets_match( Looking for God files ) ok 1 - Util::ack_sets_match( Looking for God files, --files-from=/tmp/5ZE5GVNFvp, God, -c ) ok 6 - -c and --files-from ok t/ack-g.t .................... 1..20 # Subtest: No starting directory specified 1..3 ok 1 - No STDOUT for non-existent file ok 2 - One line of STDERR for non-existent file ok 3 - Correct warning message for non-existent file ok 1 - No starting directory specified # Subtest: regex comes before -g on the command line 1..3 ok 1 - No STDOUT for non-existent file ok 2 - One line of STDERR for non-existent file ok 3 - Correct warning message for non-existent file ok 2 - regex comes before -g on the command line # Subtest: No metacharacters 1..1 # Subtest: Util::ack_sets_match( Looking for Makefile, -g, Makefile, t/ ) 1..2 ok 1 - Should have no output to stderr: ack -g Makefile t/ # Subtest: Util::sets_match( Looking for Makefile ) 1..1 # Subtest: Util::lists_match( Looking for Makefile ) 1..1 ok 1 - Looking for Makefile ok 1 - Util::lists_match( Looking for Makefile ) ok 2 - Util::sets_match( Looking for Makefile ) ok 1 - Util::ack_sets_match( Looking for Makefile, -g, Makefile, t/ ) ok 3 - No metacharacters # Subtest: With metacharacters 1..1 # Subtest: Util::ack_sets_match( Looking for swam.......htm, -g, swam.......htm, t/ ) 1..2 ok 1 - Should have no output to stderr: ack -g swam.......htm t/ # Subtest: Util::sets_match( Looking for swam.......htm ) 1..1 # Subtest: Util::lists_match( Looking for swam.......htm ) 1..1 ok 1 - Looking for swam.......htm ok 1 - Util::lists_match( Looking for swam.......htm ) ok 2 - Util::sets_match( Looking for swam.......htm ) ok 1 - Util::ack_sets_match( Looking for swam.......htm, -g, swam.......htm, t/ ) ok 4 - With metacharacters # Subtest: Front anchor 1..1 # Subtest: Util::ack_sets_match( Looking for ^t.swamp.c, -g, ^t.swamp.c, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -g ^t.swamp.c t/swamp # Subtest: Util::sets_match( Looking for ^t.swamp.c ) 1..1 # Subtest: Util::lists_match( Looking for ^t.swamp.c ) 1..1 ok 1 - Looking for ^t.swamp.c ok 1 - Util::lists_match( Looking for ^t.swamp.c ) ok 2 - Util::sets_match( Looking for ^t.swamp.c ) ok 1 - Util::ack_sets_match( Looking for ^t.swamp.c, -g, ^t.swamp.c, t/swamp ) ok 5 - Front anchor # Subtest: Back anchor 1..1 # Subtest: Util::ack_sets_match( Looking for pl$, -g, pl$, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -g pl$ t/swamp # Subtest: Util::sets_match( Looking for pl$ ) 1..1 # Subtest: Util::lists_match( Looking for pl$ ) 1..1 ok 1 - Looking for pl$ ok 1 - Util::lists_match( Looking for pl$ ) ok 2 - Util::sets_match( Looking for pl$ ) ok 1 - Util::ack_sets_match( Looking for pl$, -g, pl$, t/swamp ) ok 6 - Back anchor # Subtest: Case-insensitive via -i 1..1 # Subtest: Util::ack_sets_match( Looking for -i -g PIPE , -i, -g, PIPE, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -i -g PIPE t/swamp # Subtest: Util::sets_match( Looking for -i -g PIPE ) 1..1 # Subtest: Util::lists_match( Looking for -i -g PIPE ) 1..1 ok 1 - Looking for -i -g PIPE ok 1 - Util::lists_match( Looking for -i -g PIPE ) ok 2 - Util::sets_match( Looking for -i -g PIPE ) ok 1 - Util::ack_sets_match( Looking for -i -g PIPE , -i, -g, PIPE, t/swamp ) ok 7 - Case-insensitive via -i # Subtest: Case-insensitive via (?i:) 1..1 # Subtest: Util::ack_sets_match( Looking for (?i:PIPE), -g, (?i:PIPE), t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -g (?i:PIPE) t/swamp # Subtest: Util::sets_match( Looking for (?i:PIPE) ) 1..1 # Subtest: Util::lists_match( Looking for (?i:PIPE) ) 1..1 ok 1 - Looking for (?i:PIPE) ok 1 - Util::lists_match( Looking for (?i:PIPE) ) ok 2 - Util::sets_match( Looking for (?i:PIPE) ) ok 1 - Util::ack_sets_match( Looking for (?i:PIPE), -g, (?i:PIPE), t/swamp ) ok 8 - Case-insensitive via (?i:) # Subtest: Negate -i via -I 1..1 # Subtest: Util::ack_sets_match( Looking for -i -I -g PIPE, -i, -I, -g, PIPE, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -i -I -g PIPE t/swamp # Subtest: Util::sets_match( Looking for -i -I -g PIPE ) 1..1 # Subtest: Util::lists_match( Looking for -i -I -g PIPE ) 1..1 ok 1 - Looking for -i -I -g PIPE ok 1 - Util::lists_match( Looking for -i -I -g PIPE ) ok 2 - Util::sets_match( Looking for -i -I -g PIPE ) ok 1 - Util::ack_sets_match( Looking for -i -I -g PIPE, -i, -I, -g, PIPE, t/swamp ) ok 9 - Negate -i via -I # Subtest: Negate -I via -i 1..1 # Subtest: Util::ack_sets_match( Looking for -I -i -g PIPE , -I, -i, -g, PIPE, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -I -i -g PIPE t/swamp # Subtest: Util::sets_match( Looking for -I -i -g PIPE ) 1..1 # Subtest: Util::lists_match( Looking for -I -i -g PIPE ) 1..1 ok 1 - Looking for -I -i -g PIPE ok 1 - Util::lists_match( Looking for -I -i -g PIPE ) ok 2 - Util::sets_match( Looking for -I -i -g PIPE ) ok 1 - Util::ack_sets_match( Looking for -I -i -g PIPE , -I, -i, -g, PIPE, t/swamp ) ok 10 - Negate -I via -i # Subtest: File on command line is always searched 1..1 # Subtest: Util::ack_sets_match( File on command line is always searched, -g, emacs, t/swamp/#emacs-workfile.pl# ) 1..2 ok 1 - Should have no output to stderr: ack -g emacs t/swamp/\#emacs-workfile.pl\# # Subtest: Util::sets_match( File on command line is always searched ) 1..1 # Subtest: Util::lists_match( File on command line is always searched ) 1..1 ok 1 - File on command line is always searched ok 1 - Util::lists_match( File on command line is always searched ) ok 2 - Util::sets_match( File on command line is always searched ) ok 1 - Util::ack_sets_match( File on command line is always searched, -g, emacs, t/swamp/\#emacs-workfile.pl\# ) ok 11 - File on command line is always searched # Subtest: File on command line is always searched, even with wrong filetype 1..1 # Subtest: Util::ack_sets_match( File on command line is always searched, even with wrong type., -t, html, -g, notes, t/swamp/notes.md ) 1..2 ok 1 - Should have no output to stderr: ack -t html -g notes t/swamp/notes.md # Subtest: Util::sets_match( File on command line is always searched, even with wrong type. ) 1..1 # Subtest: Util::lists_match( File on command line is always searched, even with wrong type. ) 1..1 ok 1 - File on command line is always searched, even with wrong type. ok 1 - Util::lists_match( File on command line is always searched, even with wrong type. ) ok 2 - Util::sets_match( File on command line is always searched, even with wrong type. ) ok 1 - Util::ack_sets_match( File on command line is always searched, even with wrong type., -t, html, -g, notes, t/swamp/notes.md ) ok 12 - File on command line is always searched, even with wrong filetype # Subtest: -Q works on -g 1..2 # Subtest: Util::ack_sets_match( Looking for file.bar$ without -Q., -g, file.bar$, t ) 1..2 ok 1 - Should have no output to stderr: ack -g file.bar$ t # Subtest: Util::sets_match( Looking for file.bar$ without -Q. ) 1..1 # Subtest: Util::lists_match( Looking for file.bar$ without -Q. ) 1..1 ok 1 - Looking for file.bar$ without -Q. ok 1 - Util::lists_match( Looking for file.bar$ without -Q. ) ok 2 - Util::sets_match( Looking for file.bar$ without -Q. ) ok 1 - Util::ack_sets_match( Looking for file.bar$ without -Q., -g, file.bar$, t ) # Subtest: Util::ack_sets_match( Looking for file.bar$ with -Q., -g, file.bar$, -Q, t ) 1..2 ok 1 - Should have no output to stderr: ack -g file.bar$ -Q t # Subtest: Util::sets_match( Looking for file.bar$ with -Q. ) 1..1 # Subtest: Util::lists_match( Looking for file.bar$ with -Q. ) 1..1 ok 1 - Looking for file.bar$ with -Q. ok 1 - Util::lists_match( Looking for file.bar$ with -Q. ) ok 2 - Util::sets_match( Looking for file.bar$ with -Q. ) ok 2 - Util::ack_sets_match( Looking for file.bar$ with -Q., -g, file.bar$, -Q, t ) ok 13 - -Q works on -g # Subtest: -w works on -g 1..1 # Subtest: Util::ack_sets_match( Looking for number with '-w'., -w, -g, number, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack -w -g number --sort-files t/text # Subtest: Util::sets_match( Looking for number with '-w'. ) 1..1 # Subtest: Util::lists_match( Looking for number with '-w'. ) 1..1 ok 1 - Looking for number with '-w'. ok 1 - Util::lists_match( Looking for number with '-w'. ) ok 2 - Util::sets_match( Looking for number with '-w'. ) ok 1 - Util::ack_sets_match( Looking for number with '-w'., -w, -g, number, --sort-files, t/text ) ok 14 - -w works on -g # Subtest: -v works on -g 1..1 # Subtest: Util::ack_sets_match( Looking for file names that do not match n, -v, -g, n, --sort-files, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack -v -g n --sort-files t/text/ # Subtest: Util::sets_match( Looking for file names that do not match n ) 1..1 # Subtest: Util::lists_match( Looking for file names that do not match n ) 1..1 ok 1 - Looking for file names that do not match n ok 1 - Util::lists_match( Looking for file names that do not match n ) ok 2 - Util::sets_match( Looking for file names that do not match n ) ok 1 - Util::ack_sets_match( Looking for file names that do not match n, -v, -g, n, --sort-files, t/text/ ) ok 15 - -v works on -g # Subtest: --smart-case works on -g 1..2 # Subtest: Util::ack_sets_match( Looking for f$, --smart-case, -g, f$, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack --smart-case -g f$ t/swamp # Subtest: Util::sets_match( Looking for f$ ) 1..1 # Subtest: Util::lists_match( Looking for f$ ) 1..1 ok 1 - Looking for f$ ok 1 - Util::lists_match( Looking for f$ ) ok 2 - Util::sets_match( Looking for f$ ) ok 1 - Util::ack_sets_match( Looking for f$, --smart-case, -g, f$, t/swamp ) # Subtest: Util::ack_sets_match( Looking for f$, -S, -g, F$, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -S -g F$ t/swamp # Subtest: Util::sets_match( Looking for f$ ) 1..1 # Subtest: Util::lists_match( Looking for f$ ) 1..1 ok 1 - Looking for f$ ok 1 - Util::lists_match( Looking for f$ ) ok 2 - Util::sets_match( Looking for f$ ) ok 2 - Util::ack_sets_match( Looking for f$, -S, -g, F$, t/swamp ) ok 16 - --smart-case works on -g # Subtest: test exit codes 1..4 ok 1 - Should have no output to stderr: ack -g foo t/text/ ok 2 - -g with no matches must exit with 1 ok 3 - Should have no output to stderr: ack -g raven t/text/ ok 4 - -g with matches must exit with 0 ok 17 - test exit codes # Subtest: test -g on a path 1..1 # Subtest: Util::ack_sets_match( Make sure -g matches the whole path, --sort-files, -g, text, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --sort-files -g text t/text # Subtest: Util::sets_match( Make sure -g matches the whole path ) 1..1 # Subtest: Util::lists_match( Make sure -g matches the whole path ) 1..1 ok 1 - Make sure -g matches the whole path ok 1 - Util::lists_match( Make sure -g matches the whole path ) ok 2 - Util::sets_match( Make sure -g matches the whole path ) ok 1 - Util::ack_sets_match( Make sure -g matches the whole path, --sort-files, -g, text, t/text ) ok 18 - test -g on a path # Subtest: test -g with --color 1..2 ok 1 - Should have no output to stderr: ack --sort-files -g text --color t/text ok 2 - Colorizing -g output with --color should work ok 19 - test -g with --color # Subtest: test -g without --color; make sure colors don't show 1..1 ok 1 - Colorizing -g output without --color should have no color ok 20 - test -g without --color; make sure colors don't show ok t/ack-group.t ................ 1..8 # Subtest: Util::lists_match( No grouping ) 1..1 ok 1 - No grouping ok 1 - Util::lists_match( No grouping ) # Subtest: Util::lists_match( No grouping ) 1..1 ok 1 - No grouping ok 2 - Util::lists_match( No grouping ) # Subtest: Util::lists_match( Standard grouping ) 1..1 ok 1 - Standard grouping ok 3 - Util::lists_match( Standard grouping ) # Subtest: Util::lists_match( Standard grouping ) 1..1 ok 1 - Standard grouping ok 4 - Util::lists_match( Standard grouping ) # Subtest: Util::lists_match( Heading, no break ) 1..1 ok 1 - Heading, no break ok 5 - Util::lists_match( Heading, no break ) # Subtest: Util::lists_match( Heading, no break ) 1..1 ok 1 - Heading, no break ok 6 - Util::lists_match( Heading, no break ) # Subtest: Util::lists_match( Break, no heading ) 1..1 ok 1 - Break, no heading ok 7 - Util::lists_match( Break, no heading ) # Subtest: Util::lists_match( Break, no heading ) 1..1 ok 1 - Break, no heading ok 8 - Util::lists_match( Break, no heading ) ok t/ack-h.t .................... 1..12 ok 1 - Should have no output to stderr: ack strict t/swamp/options.pl # Subtest: Util::lists_match( Looking for strict in one file ) 1..1 ok 1 - Looking for strict in one file ok 2 - Util::lists_match( Looking for strict in one file ) ok 3 - Should have no output to stderr: ack strict t/swamp/options.pl t/swamp/pipe-stress-freaks.F # Subtest: Util::lists_match( Looking for strict in multiple files ) 1..1 ok 1 - Looking for strict in multiple files ok 4 - Util::lists_match( Looking for strict in multiple files ) ok 5 - Should have no output to stderr: ack -H strict t/swamp/options.pl # Subtest: Util::lists_match( Looking for strict in one file with -H ) 1..1 ok 1 - Looking for strict in one file with -H ok 6 - Util::lists_match( Looking for strict in one file with -H ) ok 7 - Should have no output to stderr: ack --with-filename strict t/swamp/options.pl # Subtest: Util::lists_match( Looking for strict in one file with --with-filename ) 1..1 ok 1 - Looking for strict in one file with --with-filename ok 8 - Util::lists_match( Looking for strict in one file with --with-filename ) ok 9 - Should have no output to stderr: ack -h strict t/swamp/options.pl t/swamp/crystallography-weenies.f # Subtest: Util::lists_match( Looking for strict in multiple files with -h ) 1..1 ok 1 - Looking for strict in multiple files with -h ok 10 - Util::lists_match( Looking for strict in multiple files with -h ) ok 11 - Should have no output to stderr: ack --no-filename strict t/swamp/options.pl t/swamp/crystallography-weenies.f # Subtest: Util::lists_match( Looking for strict in multiple files with --no-filename ) 1..1 ok 1 - Looking for strict in multiple files with --no-filename ok 12 - Util::lists_match( Looking for strict in multiple files with --no-filename ) ok t/ack-help-types.t ........... 1..11 ok 1 - Should have no output to stderr: ack --help-types ok 2 - A match should be found for perl in the output for --help-types ok 3 - Line for --perl in output for --help-types contains .pl ok 4 - Line for --perl in output for --help-types contains .pod ok 5 - Line for --perl in output for --help-types contains .pl ok 6 - Line for --perl in output for --help-types contains .t ok 7 - A match should be found for python in the output for --help-types ok 8 - Line for --python in output for --help-types contains .py ok 9 - A match should be found for ruby in the output for --help-types ok 10 - Line for --ruby in output for --help-types contains .rb ok 11 - Line for --ruby in output for --help-types contains Rakefile ok t/ack-help.t ................. 1..93 ok 1 - Option '--ackrc' found in --help output ok 2 - Option '--after-context' found in --help output ok 3 - Option '--bar' found in --help output ok 4 - Option '--before-context' found in --help output ok 5 - Option '--break' found in --help output ok 6 - Option '--cathy' found in --help output ok 7 - Option '--color' found in --help output ok 8 - Option '--color-filename' found in --help output ok 9 - Option '--color-lineno' found in --help output ok 10 - Option '--color-match' found in --help output ok 11 - Option '--colour' found in --help output ok 12 - Option '--column' found in --help output ok 13 - Option '--context' found in --help output ok 14 - Option '--count' found in --help output ok 15 - Option '--create-ackrc' found in --help output ok 16 - Option '--dump' found in --help output ok 17 - Option '--env' found in --help output ok 18 - Option '--files-from' found in --help output ok 19 - Option '--files-with-matches' found in --help output ok 20 - Option '--files-without-matches' found in --help output ok 21 - Option '--filter' found in --help output ok 22 - Option '--flush' found in --help output ok 23 - Option '--follow' found in --help output ok 24 - Option '--group' found in --help output ok 25 - Option '--heading' found in --help output ok 26 - Option '--help' found in --help output ok 27 - Option '--help-types' found in --help output ok 28 - Option '--help-colors' found in --help output ok 29 - Option '--help-rgb-colors' found in --help output ok 30 - Option '--ignore-ack-defaults' found in --help output ok 31 - Option '--ignore-case' found in --help output ok 32 - Option '--ignore-dir' found in --help output ok 33 - Option '--ignore-directory' found in --help output ok 34 - Option '--ignore-file' found in --help output ok 35 - Option '--invert-match' found in --help output ok 36 - Option '--literal' found in --help output ok 37 - Option '--man' found in --help output ok 38 - Option '--match' found in --help output ok 39 - Option '--max-count' found in --help output ok 40 - Option '--no-filename' found in --help output ok 41 - Option '--no-recurse' found in --help output ok 42 - Option '--nobreak' found in --help output ok 43 - Option '--nocolor' found in --help output ok 44 - Option '--nocolour' found in --help output ok 45 - Option '--nocolumn' found in --help output ok 46 - Option '--noenv' found in --help output ok 47 - Option '--nofilter' found in --help output ok 48 - Option '--nofollow' found in --help output ok 49 - Option '--nogroup' found in --help output ok 50 - Option '--noheading' found in --help output ok 51 - Option '--noignore-dir' found in --help output ok 52 - Option '--noignore-directory' found in --help output ok 53 - Option '--nopager' found in --help output ok 54 - Option '--nosmart-case' found in --help output ok 55 - Option '--output' found in --help output ok 56 - Option '--pager' found in --help output ok 57 - Option '--passthru' found in --help output ok 58 - Option '--print0' found in --help output ok 59 - Option '--recurse' found in --help output ok 60 - Option '--show-types' found in --help output ok 61 - Option '--smart-case' found in --help output ok 62 - Option '--sort-files' found in --help output ok 63 - Option '--thpppt' found in --help output ok 64 - Option '--type' found in --help output ok 65 - Option '--type-add' found in --help output ok 66 - Option '--type-del' found in --help output ok 67 - Option '--type-set' found in --help output ok 68 - Option '--version' found in --help output ok 69 - Option '--with-filename' found in --help output ok 70 - Option '--word-regexp' found in --help output ok 71 - Option '-1' found in --help output ok 72 - Option '-A' found in --help output ok 73 - Option '-B' found in --help output ok 74 - Option '-C' found in --help output ok 75 - Option '-H' found in --help output ok 76 - Option '-L' found in --help output ok 77 - Option '-Q' found in --help output ok 78 - Option '-R' found in --help output ok 79 - Option '-S' found in --help output ok 80 - Option '-c' found in --help output ok 81 - Option '-f' found in --help output ok 82 - Option '-g' found in --help output ok 83 - Option '-h' found in --help output ok 84 - Option '-i' found in --help output ok 85 - Option '-l' found in --help output ok 86 - Option '-m' found in --help output ok 87 - Option '-n' found in --help output ok 88 - Option '-o' found in --help output ok 89 - Option '-r' found in --help output ok 90 - Option '-s' found in --help output ok 91 - Option '-v' found in --help output ok 92 - Option '-w' found in --help output ok 93 - Option '-x' found in --help output ok t/ack-i.t .................... 1..9 # Subtest: No -i, or -I: t/ack-i.barfly, line 1 1..2 # Subtest: No -i, or -I: YES/NO 1..3 # Subtest: ack foo 1..2 ok 1 - Should have no output to stderr: ack foo /tmp/q_rYtXVaAs # Subtest: Util::lists_match( ack foo ) 1..1 ok 1 - ack foo ok 2 - Util::lists_match( ack foo ) ok 1 - ack foo # Subtest: ack -I foo 1..2 ok 1 - Should have no output to stderr: ack -I foo /tmp/q_rYtXVaAs # Subtest: Util::lists_match( ack -I foo ) 1..1 ok 1 - ack -I foo ok 2 - Util::lists_match( ack -I foo ) ok 2 - ack -I foo # Subtest: ack --no-smart-case foo 1..2 ok 1 - Should have no output to stderr: ack --no-smart-case foo /tmp/q_rYtXVaAs # Subtest: Util::lists_match( ack --no-smart-case foo ) 1..1 ok 1 - ack --no-smart-case foo ok 2 - Util::lists_match( ack --no-smart-case foo ) ok 3 - ack --no-smart-case foo ok 1 - No -i, or -I: YES/NO # Subtest: No -i, or -I: YESLINES ok 1 - No yeslines 1..1 ok 2 - No -i, or -I: YESLINES ok 1 - No -i, or -I: t/ack-i.barfly, line 1 # Subtest: Normal -i: t/ack-i.barfly, line 19 1..2 # Subtest: Normal -i: YES/NO 1..4 # Subtest: ack -i foo 1..2 ok 1 - Should have no output to stderr: ack -i foo /tmp/99nMBOIxL7 # Subtest: Util::lists_match( ack -i foo ) 1..1 ok 1 - ack -i foo ok 2 - Util::lists_match( ack -i foo ) ok 1 - ack -i foo # Subtest: ack -i Foo 1..2 ok 1 - Should have no output to stderr: ack -i Foo /tmp/99nMBOIxL7 # Subtest: Util::lists_match( ack -i Foo ) 1..1 ok 1 - ack -i Foo ok 2 - Util::lists_match( ack -i Foo ) ok 2 - ack -i Foo # Subtest: ack --ignore-case foo 1..2 ok 1 - Should have no output to stderr: ack --ignore-case foo /tmp/99nMBOIxL7 # Subtest: Util::lists_match( ack --ignore-case foo ) 1..1 ok 1 - ack --ignore-case foo ok 2 - Util::lists_match( ack --ignore-case foo ) ok 3 - ack --ignore-case foo # Subtest: ack --ignore-case Foo 1..2 ok 1 - Should have no output to stderr: ack --ignore-case Foo /tmp/99nMBOIxL7 # Subtest: Util::lists_match( ack --ignore-case Foo ) 1..1 ok 1 - ack --ignore-case Foo ok 2 - Util::lists_match( ack --ignore-case Foo ) ok 4 - ack --ignore-case Foo ok 1 - Normal -i: YES/NO # Subtest: Normal -i: YESLINES ok 1 - No yeslines 1..1 ok 2 - Normal -i: YESLINES ok 2 - Normal -i: t/ack-i.barfly, line 19 # Subtest: --smart-case invoked: t/ack-i.barfly, line 38 1..2 # Subtest: --smart-case invoked: YES/NO 1..2 # Subtest: ack --smart-case foo 1..2 ok 1 - Should have no output to stderr: ack --smart-case foo /tmp/YhDX4fI0mZ # Subtest: Util::lists_match( ack --smart-case foo ) 1..1 ok 1 - ack --smart-case foo ok 2 - Util::lists_match( ack --smart-case foo ) ok 1 - ack --smart-case foo # Subtest: ack -S foo 1..2 ok 1 - Should have no output to stderr: ack -S foo /tmp/YhDX4fI0mZ # Subtest: Util::lists_match( ack -S foo ) 1..1 ok 1 - ack -S foo ok 2 - Util::lists_match( ack -S foo ) ok 2 - ack -S foo ok 1 - --smart-case invoked: YES/NO # Subtest: --smart-case invoked: YESLINES ok 1 - No yeslines 1..1 ok 2 - --smart-case invoked: YESLINES ok 3 - --smart-case invoked: t/ack-i.barfly, line 38 # Subtest: --smart-case bypassed: t/ack-i.barfly, line 55 1..2 # Subtest: --smart-case bypassed: YES/NO 1..2 # Subtest: ack --smart-case Foo 1..2 ok 1 - Should have no output to stderr: ack --smart-case Foo /tmp/3tSB1IDvG_ # Subtest: Util::lists_match( ack --smart-case Foo ) 1..1 ok 1 - ack --smart-case Foo ok 2 - Util::lists_match( ack --smart-case Foo ) ok 1 - ack --smart-case Foo # Subtest: ack -S Foo 1..2 ok 1 - Should have no output to stderr: ack -S Foo /tmp/3tSB1IDvG_ # Subtest: Util::lists_match( ack -S Foo ) 1..1 ok 1 - ack -S Foo ok 2 - Util::lists_match( ack -S Foo ) ok 2 - ack -S Foo ok 1 - --smart-case bypassed: YES/NO # Subtest: --smart-case bypassed: YESLINES ok 1 - No yeslines 1..1 ok 2 - --smart-case bypassed: YESLINES ok 4 - --smart-case bypassed: t/ack-i.barfly, line 55 # Subtest: --smart-case overrides -i: t/ack-i.barfly, line 72 1..2 # Subtest: --smart-case overrides -i: YES/NO 1..2 # Subtest: ack -i --smart-case Foo 1..2 ok 1 - Should have no output to stderr: ack -i --smart-case Foo /tmp/B0mbxcTF0_ # Subtest: Util::lists_match( ack -i --smart-case Foo ) 1..1 ok 1 - ack -i --smart-case Foo ok 2 - Util::lists_match( ack -i --smart-case Foo ) ok 1 - ack -i --smart-case Foo # Subtest: ack -i -S Foo 1..2 ok 1 - Should have no output to stderr: ack -i -S Foo /tmp/B0mbxcTF0_ # Subtest: Util::lists_match( ack -i -S Foo ) 1..1 ok 1 - ack -i -S Foo ok 2 - Util::lists_match( ack -i -S Foo ) ok 2 - ack -i -S Foo ok 1 - --smart-case overrides -i: YES/NO # Subtest: --smart-case overrides -i: YESLINES ok 1 - No yeslines 1..1 ok 2 - --smart-case overrides -i: YESLINES ok 5 - --smart-case overrides -i: t/ack-i.barfly, line 72 # Subtest: -i overrides --smart-case: t/ack-i.barfly, line 89 1..2 # Subtest: -i overrides --smart-case: YES/NO 1..4 # Subtest: ack --smart-case -i Foo 1..2 ok 1 - Should have no output to stderr: ack --smart-case -i Foo /tmp/XfM0hJ3MaN # Subtest: Util::lists_match( ack --smart-case -i Foo ) 1..1 ok 1 - ack --smart-case -i Foo ok 2 - Util::lists_match( ack --smart-case -i Foo ) ok 1 - ack --smart-case -i Foo # Subtest: ack --smart-case -i foo 1..2 ok 1 - Should have no output to stderr: ack --smart-case -i foo /tmp/XfM0hJ3MaN # Subtest: Util::lists_match( ack --smart-case -i foo ) 1..1 ok 1 - ack --smart-case -i foo ok 2 - Util::lists_match( ack --smart-case -i foo ) ok 2 - ack --smart-case -i foo # Subtest: ack -S -i Foo 1..2 ok 1 - Should have no output to stderr: ack -S -i Foo /tmp/XfM0hJ3MaN # Subtest: Util::lists_match( ack -S -i Foo ) 1..1 ok 1 - ack -S -i Foo ok 2 - Util::lists_match( ack -S -i Foo ) ok 3 - ack -S -i Foo # Subtest: ack -S -i foo 1..2 ok 1 - Should have no output to stderr: ack -S -i foo /tmp/XfM0hJ3MaN # Subtest: Util::lists_match( ack -S -i foo ) 1..1 ok 1 - ack -S -i foo ok 2 - Util::lists_match( ack -S -i foo ) ok 4 - ack -S -i foo ok 1 - -i overrides --smart-case: YES/NO # Subtest: -i overrides --smart-case: YESLINES ok 1 - No yeslines 1..1 ok 2 - -i overrides --smart-case: YESLINES ok 6 - -i overrides --smart-case: t/ack-i.barfly, line 89 # Subtest: -I overrides -i: t/ack-i.barfly, line 108 1..2 # Subtest: -I overrides -i: YES/NO 1..1 # Subtest: ack -i -I Foo 1..2 ok 1 - Should have no output to stderr: ack -i -I Foo /tmp/FhPGDW1GWe # Subtest: Util::lists_match( ack -i -I Foo ) 1..1 ok 1 - ack -i -I Foo ok 2 - Util::lists_match( ack -i -I Foo ) ok 1 - ack -i -I Foo ok 1 - -I overrides -i: YES/NO # Subtest: -I overrides -i: YESLINES ok 1 - No yeslines 1..1 ok 2 - -I overrides -i: YESLINES ok 7 - -I overrides -i: t/ack-i.barfly, line 108 # Subtest: -I overrides --smart-case: t/ack-i.barfly, line 124 1..2 # Subtest: -I overrides --smart-case: YES/NO 1..2 # Subtest: ack --smart-case -I Foo 1..2 ok 1 - Should have no output to stderr: ack --smart-case -I Foo /tmp/yi5iONcUF7 # Subtest: Util::lists_match( ack --smart-case -I Foo ) 1..1 ok 1 - ack --smart-case -I Foo ok 2 - Util::lists_match( ack --smart-case -I Foo ) ok 1 - ack --smart-case -I Foo # Subtest: ack -S -I Foo 1..2 ok 1 - Should have no output to stderr: ack -S -I Foo /tmp/yi5iONcUF7 # Subtest: Util::lists_match( ack -S -I Foo ) 1..1 ok 1 - ack -S -I Foo ok 2 - Util::lists_match( ack -S -I Foo ) ok 2 - ack -S -I Foo ok 1 - -I overrides --smart-case: YES/NO # Subtest: -I overrides --smart-case: YESLINES ok 1 - No yeslines 1..1 ok 2 - -I overrides --smart-case: YESLINES ok 8 - -I overrides --smart-case: t/ack-i.barfly, line 124 # Subtest: Straight -i 1..4 ok 1 - Should have no output to stderr: ack --nocolor APPLE -i t/swamp/groceries/fruit t/swamp/groceries/junk t/swamp/groceries/meat # Subtest: Util::lists_match( -i flag ) 1..1 ok 1 - -i flag ok 2 - Util::lists_match( -i flag ) ok 3 - Should have no output to stderr: ack --nocolor APPLE --ignore-case t/swamp/groceries/fruit t/swamp/groceries/junk t/swamp/groceries/meat # Subtest: Util::lists_match( --ignore-case flag ) 1..1 ok 1 - --ignore-case flag ok 4 - Util::lists_match( --ignore-case flag ) ok 9 - Straight -i ok t/ack-ignore-dir.t ........... 1..45 ok 1 - Should have no output to stderr: ack --ignore-dir=subdir --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=subdir ) 1..1 # Subtest: Util::lists_match( --ignore-dir=subdir ) 1..1 ok 1 - --ignore-dir=subdir ok 1 - Util::lists_match( --ignore-dir=subdir ) ok 2 - Util::sets_match( --ignore-dir=subdir ) ok 3 - Should have no output to stderr: ack --ignore-dir=subdir/ --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=subdir/ ) 1..1 # Subtest: Util::lists_match( --ignore-dir=subdir/ ) 1..1 ok 1 - --ignore-dir=subdir/ ok 1 - Util::lists_match( --ignore-dir=subdir/ ) ok 4 - Util::sets_match( --ignore-dir=subdir/ ) ok 5 - Should have no output to stderr: ack --ignore-dir=subdir --ignore-dir=another_subdir --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=subdir --ignore-dir=another_subdir ) 1..1 # Subtest: Util::lists_match( --ignore-dir=subdir --ignore-dir=another_subdir ) 1..1 ok 1 - --ignore-dir=subdir --ignore-dir=another_subdir ok 1 - Util::lists_match( --ignore-dir=subdir --ignore-dir=another_subdir ) ok 6 - Util::sets_match( --ignore-dir=subdir --ignore-dir=another_subdir ) ok 7 - Should have no output to stderr: ack --noignore-dir=CVS --noenv -l apple t/swamp # Subtest: Util::sets_match( --noignore-dir=CVS ) 1..1 # Subtest: Util::lists_match( --noignore-dir=CVS ) 1..1 ok 1 - --noignore-dir=CVS ok 1 - Util::lists_match( --noignore-dir=CVS ) ok 8 - Util::sets_match( --noignore-dir=CVS ) ok 9 - Should have no output to stderr: ack --noignore-dir=CVS --noignore-dir=RCS --noenv -l apple t/swamp # Subtest: Util::sets_match( --noignore-dir=CVS --noignore-dir=RCS ) 1..1 # Subtest: Util::lists_match( --noignore-dir=CVS --noignore-dir=RCS ) 1..1 ok 1 - --noignore-dir=CVS --noignore-dir=RCS ok 1 - Util::lists_match( --noignore-dir=CVS --noignore-dir=RCS ) ok 10 - Util::sets_match( --noignore-dir=CVS --noignore-dir=RCS ) ok 11 - Should have no output to stderr: ack --noignore-dir=CVS --ignore-dir=subdir --noenv -l apple t/swamp # Subtest: Util::sets_match( --noignore-dir=CVS --ignore-dir=subdir ) 1..1 # Subtest: Util::lists_match( --noignore-dir=CVS --ignore-dir=subdir ) 1..1 ok 1 - --noignore-dir=CVS --ignore-dir=subdir ok 1 - Util::lists_match( --noignore-dir=CVS --ignore-dir=subdir ) ok 12 - Util::sets_match( --noignore-dir=CVS --ignore-dir=subdir ) ok 13 - Should have no output to stderr: ack --noignore-dir=CVS --ignore-dir=CVS --noenv -l apple t/swamp # Subtest: Util::sets_match( --noignore-dir=CVS --ignore-dir=CVS ) 1..1 # Subtest: Util::lists_match( --noignore-dir=CVS --ignore-dir=CVS ) 1..1 ok 1 - --noignore-dir=CVS --ignore-dir=CVS ok 1 - Util::lists_match( --noignore-dir=CVS --ignore-dir=CVS ) ok 14 - Util::sets_match( --noignore-dir=CVS --ignore-dir=CVS ) ok 15 - Should have no output to stderr: ack --noignore-dir=CVS --ignore-dir=CVS --noignore-dir=CVS --noenv -l apple t/swamp # Subtest: Util::sets_match( --noignore-dir=CVS --ignore-dir=CVS --noignore-dir=CVS ) 1..1 # Subtest: Util::lists_match( --noignore-dir=CVS --ignore-dir=CVS --noignore-dir=CVS ) 1..1 ok 1 - --noignore-dir=CVS --ignore-dir=CVS --noignore-dir=CVS ok 1 - Util::lists_match( --noignore-dir=CVS --ignore-dir=CVS --noignore-dir=CVS ) ok 16 - Util::sets_match( --noignore-dir=CVS --ignore-dir=CVS --noignore-dir=CVS ) ok 17 - Should have no output to stderr: ack --ignore-dir=subdir --noignore-dir=subdir --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=subdir --noignore-dir=subdir ) 1..1 # Subtest: Util::lists_match( --ignore-dir=subdir --noignore-dir=subdir ) 1..1 ok 1 - --ignore-dir=subdir --noignore-dir=subdir ok 1 - Util::lists_match( --ignore-dir=subdir --noignore-dir=subdir ) ok 18 - Util::sets_match( --ignore-dir=subdir --noignore-dir=subdir ) ok 19 - Should have no output to stderr: ack --ignore-dir=subdir --noignore-dir=subdir --ignore-dir=subdir --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=subdir --noignore-dir=subdir --ignore-dir=subdir ) 1..1 # Subtest: Util::lists_match( --ignore-dir=subdir --noignore-dir=subdir --ignore-dir=subdir ) 1..1 ok 1 - --ignore-dir=subdir --noignore-dir=subdir --ignore-dir=subdir ok 1 - Util::lists_match( --ignore-dir=subdir --noignore-dir=subdir --ignore-dir=subdir ) ok 20 - Util::sets_match( --ignore-dir=subdir --noignore-dir=subdir --ignore-dir=subdir ) ok 21 - Should have no output to stderr: ack --ignore-dir=t/swamp/groceries/another_subdir --noenv -l apple t/swamp # Subtest: Util::sets_match( ignore relative paths instead of just directory names ) 1..1 # Subtest: Util::lists_match( ignore relative paths instead of just directory names ) 1..1 ok 1 - ignore relative paths instead of just directory names ok 1 - Util::lists_match( ignore relative paths instead of just directory names ) ok 22 - Util::sets_match( ignore relative paths instead of just directory names ) ok 23 - Should have no output to stderr: ack --ignore-dir=another_subdir --noignore-dir=CVS --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=another_subdir --noignore-dir=CVS ) 1..1 # Subtest: Util::lists_match( --ignore-dir=another_subdir --noignore-dir=CVS ) 1..1 ok 1 - --ignore-dir=another_subdir --noignore-dir=CVS ok 1 - Util::lists_match( --ignore-dir=another_subdir --noignore-dir=CVS ) ok 24 - Util::sets_match( --ignore-dir=another_subdir --noignore-dir=CVS ) ok 25 - Should have no output to stderr: ack --ignore-dir=match:/\w_subdir/ --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=match:/\w_subdir/ ) 1..1 # Subtest: Util::lists_match( --ignore-dir=match:/\w_subdir/ ) 1..1 ok 1 - --ignore-dir=match:/\w_subdir/ ok 1 - Util::lists_match( --ignore-dir=match:/\w_subdir/ ) ok 26 - Util::sets_match( --ignore-dir=match:/\w_subdir/ ) ok 27 - Should have no output to stderr: ack --ignore-dir=ext:d --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=ext:d ) 1..1 # Subtest: Util::lists_match( --ignore-dir=ext:d ) 1..1 ok 1 - --ignore-dir=ext:d ok 1 - Util::lists_match( --ignore-dir=ext:d ) ok 28 - Util::sets_match( --ignore-dir=ext:d ) ok 29 - --ignore-dir=firstlinematch:perl is erroneous and should print nothing to standard output ok 30 - --ignore-dir=firstlinematch:perl is erroneous and should print something to standard error ok 31 - --ignore-dir=firstlinematch:perl should report an error message ok 32 - Should have no output to stderr: ack --ignore-dir=match:/\w_subdir/ --noignore-dir=CVS --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=CVS ) 1..1 # Subtest: Util::lists_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=CVS ) 1..1 ok 1 - --ignore-dir=match:/\w_subdir/ --noignore-dir=CVS ok 1 - Util::lists_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=CVS ) ok 33 - Util::sets_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=CVS ) ok 34 - Should have no output to stderr: ack --ignore-dir=match:/\w_subdir/ --noignore-dir=is:CVS --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=is:CVS ) 1..1 # Subtest: Util::lists_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=is:CVS ) 1..1 ok 1 - --ignore-dir=match:/\w_subdir/ --noignore-dir=is:CVS ok 1 - Util::lists_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=is:CVS ) ok 35 - Util::sets_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=is:CVS ) ok 36 - Should have no output to stderr: ack --ignore-dir=match:/\w_subdir/ --noignore-dir=match:/^..S/ --noenv -l apple t/swamp # Subtest: Util::sets_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=match:/^..S/ ) 1..1 # Subtest: Util::lists_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=match:/^..S/ ) 1..1 ok 1 - --ignore-dir=match:/\w_subdir/ --noignore-dir=match:/^..S/ ok 1 - Util::lists_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=match:/^..S/ ) ok 37 - Util::sets_match( --ignore-dir=match:/\w_subdir/ --noignore-dir=match:/^..S/ ) ok 38 - Should have no output to stderr: ack --noignore-dir=t/swamp/groceries/another_subdir/CVS --noenv -l apple t/swamp # Subtest: Util::sets_match( no-ignore relative paths instead of just directory names ) 1..1 # Subtest: Util::lists_match( no-ignore relative paths instead of just directory names ) 1..1 ok 1 - no-ignore relative paths instead of just directory names ok 1 - Util::lists_match( no-ignore relative paths instead of just directory names ) ok 39 - Util::sets_match( no-ignore relative paths instead of just directory names ) ok 40 - Should have no output to stderr: ack --ignore-dir=swamp -f t/swamp ok 41 - Specifying a directory on the command line should override ignoring it ok 42 - Should have no output to stderr: ack --ignore-dir=swamp -l quux t/swamp ok 43 - Specifying a directory on the command line should still ignore matching subdirs ok 44 - Should have no output to stderr: ack -l quux t/swamp ok 45 - Double-check it is found without ignore-dir ok t/ack-ignore-file.t .......... 1..3 # Subtest: is:xxx matching 1..5 # Subtest: Util::ack_sets_match( Unfiltered, -f, t/swamp/groceries ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries # Subtest: Util::sets_match( Unfiltered ) 1..1 # Subtest: Util::lists_match( Unfiltered ) 1..1 ok 1 - Unfiltered ok 1 - Util::lists_match( Unfiltered ) ok 2 - Util::sets_match( Unfiltered ) ok 1 - Util::ack_sets_match( Unfiltered, -f, t/swamp/groceries ) # Subtest: Util::ack_sets_match( Ignoring fruit with is, -f, t/swamp/groceries, --ignore-file=is:fruit ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries --ignore-file=is:fruit # Subtest: Util::sets_match( Ignoring fruit with is ) 1..1 # Subtest: Util::lists_match( Ignoring fruit with is ) 1..1 ok 1 - Ignoring fruit with is ok 1 - Util::lists_match( Ignoring fruit with is ) ok 2 - Util::sets_match( Ignoring fruit with is ) ok 2 - Util::ack_sets_match( Ignoring fruit with is, -f, t/swamp/groceries, --ignore-file=is:fruit ) # Subtest: Util::ack_sets_match( Ignoring with is that does not match, -f, t/swamp/groceries, --ignore-file=is:bongo ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries --ignore-file=is:bongo # Subtest: Util::sets_match( Ignoring with is that does not match ) 1..1 # Subtest: Util::lists_match( Ignoring with is that does not match ) 1..1 ok 1 - Ignoring with is that does not match ok 1 - Util::lists_match( Ignoring with is that does not match ) ok 2 - Util::sets_match( Ignoring with is that does not match ) ok 3 - Util::ack_sets_match( Ignoring with is that does not match, -f, t/swamp/groceries, --ignore-file=is:bongo ) # Subtest: Util::ack_sets_match( --ignore-file only operatoes on filenames, not dirnames, -f, t/swamp/groceries, --ignore-file=is:subdir ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries --ignore-file=is:subdir # Subtest: Util::sets_match( --ignore-file only operatoes on filenames, not dirnames ) 1..1 # Subtest: Util::lists_match( --ignore-file only operatoes on filenames, not dirnames ) 1..1 ok 1 - --ignore-file only operatoes on filenames, not dirnames ok 1 - Util::lists_match( --ignore-file only operatoes on filenames, not dirnames ) ok 2 - Util::sets_match( --ignore-file only operatoes on filenames, not dirnames ) ok 4 - Util::ack_sets_match( --ignore-file only operatoes on filenames, not dirnames, -f, t/swamp/groceries, --ignore-file=is:subdir ) # Subtest: Util::ack_sets_match( Multiple is arguments, -f, t/swamp/groceries, --ignore-file=is:fruit, --ignore-file=is:junk ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries --ignore-file=is:fruit --ignore-file=is:junk # Subtest: Util::sets_match( Multiple is arguments ) 1..1 # Subtest: Util::lists_match( Multiple is arguments ) 1..1 ok 1 - Multiple is arguments ok 1 - Util::lists_match( Multiple is arguments ) ok 2 - Util::sets_match( Multiple is arguments ) ok 5 - Util::ack_sets_match( Multiple is arguments, -f, t/swamp/groceries, --ignore-file=is:fruit, --ignore-file=is:junk ) ok 1 - is:xxx matching # Subtest: match:xxx matching 1..6 # Subtest: Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -i, -f, t/swamp/groceries, --ignore-file=match:u, -i ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries --ignore-file=match:u -i # Subtest: Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -i ) 1..1 # Subtest: Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -i ) 1..1 ok 1 - Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -i ok 1 - Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -i ) ok 2 - Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -i ) ok 1 - Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -i, -f, t/swamp/groceries, --ignore-file=match:u, -i ) # Subtest: Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -I, -f, t/swamp/groceries, --ignore-file=match:u, -I ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries --ignore-file=match:u -I # Subtest: Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -I ) 1..1 # Subtest: Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -I ) 1..1 ok 1 - Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -I ok 1 - Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -I ) ok 2 - Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -I ) ok 2 - Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u -I, -f, t/swamp/groceries, --ignore-file=match:u, -I ) # Subtest: Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u, -f, t/swamp/groceries, --ignore-file=match:u ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries --ignore-file=match:u # Subtest: Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u ) 1..1 # Subtest: Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u ) 1..1 ok 1 - Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u ok 1 - Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u ) ok 2 - Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u ) ok 3 - Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:u, -f, t/swamp/groceries, --ignore-file=match:u ) # Subtest: Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -i, -f, t/swamp/groceries, --ignore-file=match:U, -i ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries --ignore-file=match:U -i # Subtest: Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -i ) 1..1 # Subtest: Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -i ) 1..1 ok 1 - Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -i ok 1 - Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -i ) ok 2 - Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -i ) ok 4 - Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -i, -f, t/swamp/groceries, --ignore-file=match:U, -i ) # Subtest: Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -I, -f, t/swamp/groceries, --ignore-file=match:U, -I ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries --ignore-file=match:U -I # Subtest: Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -I ) 1..1 # Subtest: Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -I ) 1..1 ok 1 - Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -I ok 1 - Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -I ) ok 2 - Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -I ) ok 5 - Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U -I, -f, t/swamp/groceries, --ignore-file=match:U, -I ) # Subtest: Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U, -f, t/swamp/groceries, --ignore-file=match:U ) 1..2 ok 1 - Should have no output to stderr: ack -f t/swamp/groceries --ignore-file=match:U # Subtest: Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U ) 1..1 # Subtest: Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U ) 1..1 ok 1 - Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U ok 1 - Util::lists_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U ) ok 2 - Util::sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U ) ok 6 - Util::ack_sets_match( Should only match files with do not have "u" in them: -f t/swamp/groceries --ignore-file=match:U, -f, t/swamp/groceries, --ignore-file=match:U ) ok 2 - match:xxx matching # Subtest: Invalid invocation 1..8 ok 1 - No output for --ignore-file=foo ok 2 - Exactly two errors for --ignore-file=foo ok 3 ok 4 ok 5 - No output for --ignore-file=foo:bar ok 6 - Exactly two errors for --ignore-file=foo:bar ok 7 ok 8 ok 3 - Invalid invocation ok t/ack-k.t .................... 1..3 # Subtest: No restrictions on type # Subtest: Util::ack_sets_match( No restrictions on type, -f, --show-types, t/etc ) 1..2 ok 1 - Should have no output to stderr: ack -f --show-types t/etc # Subtest: Util::sets_match( No restrictions on type ) 1..1 # Subtest: Util::lists_match( No restrictions on type ) 1..1 ok 1 - No restrictions on type ok 1 - Util::lists_match( No restrictions on type ) ok 2 - Util::sets_match( No restrictions on type ) ok 1 - Util::ack_sets_match( No restrictions on type, -f, --show-types, t/etc ) 1..1 ok 1 - No restrictions on type # Subtest: Only known types # Subtest: Util::ack_sets_match( Only known types, -f, -k, --show-types, t/etc ) 1..2 ok 1 - Should have no output to stderr: ack -f -k --show-types t/etc # Subtest: Util::sets_match( Only known types ) 1..1 # Subtest: Util::lists_match( Only known types ) 1..1 ok 1 - Only known types ok 1 - Util::lists_match( Only known types ) ok 2 - Util::sets_match( Only known types ) ok 1 - Util::ack_sets_match( Only known types, -f, -k, --show-types, t/etc ) 1..1 ok 2 - Only known types # Subtest: More testing 1..4 # Subtest: Util::ack_sets_match( -k test #1, -k, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -k -f t/swamp # Subtest: Util::sets_match( -k test #1 ) 1..1 # Subtest: Util::lists_match( -k test #1 ) 1..1 ok 1 - -k test \#1 ok 1 - Util::lists_match( -k test \#1 ) ok 2 - Util::sets_match( -k test \#1 ) ok 1 - Util::ack_sets_match( -k test \#1, -k, -f, t/swamp ) # Subtest: Util::ack_sets_match( -k test #2, -k, -T, perl, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -k -T perl -f t/swamp # Subtest: Util::sets_match( -k test #2 ) 1..1 # Subtest: Util::lists_match( -k test #2 ) 1..1 ok 1 - -k test \#2 ok 1 - Util::lists_match( -k test \#2 ) ok 2 - Util::sets_match( -k test \#2 ) ok 2 - Util::ack_sets_match( -k test \#2, -k, -T, perl, -f, t/swamp ) # Subtest: Util::ack_sets_match( --known-types test #1, --known-types, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack --known-types -f t/swamp # Subtest: Util::sets_match( --known-types test #1 ) 1..1 # Subtest: Util::lists_match( --known-types test #1 ) 1..1 ok 1 - --known-types test \#1 ok 1 - Util::lists_match( --known-types test \#1 ) ok 2 - Util::sets_match( --known-types test \#1 ) ok 3 - Util::ack_sets_match( --known-types test \#1, --known-types, -f, t/swamp ) # Subtest: Util::ack_sets_match( --known-types test #2, --known-types, -T, perl, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack --known-types -T perl -f t/swamp # Subtest: Util::sets_match( --known-types test #2 ) 1..1 # Subtest: Util::lists_match( --known-types test #2 ) 1..1 ok 1 - --known-types test \#2 ok 1 - Util::lists_match( --known-types test \#2 ) ok 2 - Util::sets_match( --known-types test \#2 ) ok 4 - Util::ack_sets_match( --known-types test \#2, --known-types, -T, perl, -f, t/swamp ) ok 3 - More testing ok t/ack-l.t .................... 1..11 # Subtest: Files with matches: -l ok 1 - Should have no output to stderr: ack -l strict t/text # Subtest: Util::sets_match( File list match ) 1..1 # Subtest: Util::lists_match( File list match ) 1..1 ok 1 - File list match ok 1 - Util::lists_match( File list match ) ok 2 - Util::sets_match( File list match ) 1..2 ok 1 - Files with matches: -l # Subtest: Files with matches: --files-with-matches ok 1 - Should have no output to stderr: ack --files-with-matches strict t/text # Subtest: Util::sets_match( File list match ) 1..1 # Subtest: Util::lists_match( File list match ) 1..1 ok 1 - File list match ok 1 - Util::lists_match( File list match ) ok 2 - Util::sets_match( File list match ) 1..2 ok 2 - Files with matches: --files-with-matches # Subtest: Files without matches: -L ok 1 - Should have no output to stderr: ack -L strict t/text # Subtest: Util::sets_match( File list match ) 1..1 # Subtest: Util::lists_match( File list match ) 1..1 ok 1 - File list match ok 1 - Util::lists_match( File list match ) ok 2 - Util::sets_match( File list match ) 1..2 ok 3 - Files without matches: -L # Subtest: Files without matches: --files-without-matches ok 1 - Should have no output to stderr: ack --files-without-matches strict t/text # Subtest: Util::sets_match( File list match ) 1..1 # Subtest: Util::lists_match( File list match ) 1..1 ok 1 - File list match ok 1 - Util::lists_match( File list match ) ok 2 - Util::sets_match( File list match ) 1..2 ok 4 - Files without matches: --files-without-matches # Subtest: Util::ack_sets_match( Looking for God with -l, God, -i, -l, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack God -i -l --sort-files t/text # Subtest: Util::sets_match( Looking for God with -l ) 1..1 # Subtest: Util::lists_match( Looking for God with -l ) 1..1 ok 1 - Looking for God with -l ok 1 - Util::lists_match( Looking for God with -l ) ok 2 - Util::sets_match( Looking for God with -l ) ok 5 - Util::ack_sets_match( Looking for God with -l, God, -i, -l, --sort-files, t/text ) # Subtest: Util::ack_sets_match( Looking for God with -L, God, -L, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack God -L --sort-files t/text # Subtest: Util::sets_match( Looking for God with -L ) 1..1 # Subtest: Util::lists_match( Looking for God with -L ) 1..1 ok 1 - Looking for God with -L ok 1 - Util::lists_match( Looking for God with -L ) ok 2 - Util::sets_match( Looking for God with -L ) ok 6 - Util::ack_sets_match( Looking for God with -L, God, -L, --sort-files, t/text ) # Subtest: Util::ack_sets_match( Looking for God with --files-without-matches, God, --files-without-matches, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack God --files-without-matches --sort-files t/text # Subtest: Util::sets_match( Looking for God with --files-without-matches ) 1..1 # Subtest: Util::lists_match( Looking for God with --files-without-matches ) 1..1 ok 1 - Looking for God with --files-without-matches ok 1 - Util::lists_match( Looking for God with --files-without-matches ) ok 2 - Util::sets_match( Looking for God with --files-without-matches ) ok 7 - Util::ack_sets_match( Looking for God with --files-without-matches, God, --files-without-matches, --sort-files, t/text ) # Subtest: Util::ack_sets_match( -l -v will match all input files because "religion" will not be on every line, religion, -l, -v, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack religion -l -v --sort-files t/text # Subtest: Util::sets_match( -l -v will match all input files because "religion" will not be on every line ) 1..1 # Subtest: Util::lists_match( -l -v will match all input files because "religion" will not be on every line ) 1..1 ok 1 - -l -v will match all input files because "religion" will not be on every line ok 1 - Util::lists_match( -l -v will match all input files because "religion" will not be on every line ) ok 2 - Util::sets_match( -l -v will match all input files because "religion" will not be on every line ) ok 8 - Util::ack_sets_match( -l -v will match all input files because "religion" will not be on every line, religion, -l, -v, --sort-files, t/text ) # Subtest: Util::ack_sets_match( -l -v will match all input files because "religion" will not be on every line, religion, -l, --invert-match, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack religion -l --invert-match --sort-files t/text # Subtest: Util::sets_match( -l -v will match all input files because "religion" will not be on every line ) 1..1 # Subtest: Util::lists_match( -l -v will match all input files because "religion" will not be on every line ) 1..1 ok 1 - -l -v will match all input files because "religion" will not be on every line ok 1 - Util::lists_match( -l -v will match all input files because "religion" will not be on every line ) ok 2 - Util::sets_match( -l -v will match all input files because "religion" will not be on every line ) ok 9 - Util::ack_sets_match( -l -v will match all input files because "religion" will not be on every line, religion, -l, --invert-match, --sort-files, t/text ) # Subtest: Util::ack_sets_match( -l -v will match all input files because "religion" will not be on every line, religion, --files-with-matches, -v, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack religion --files-with-matches -v --sort-files t/text # Subtest: Util::sets_match( -l -v will match all input files because "religion" will not be on every line ) 1..1 # Subtest: Util::lists_match( -l -v will match all input files because "religion" will not be on every line ) 1..1 ok 1 - -l -v will match all input files because "religion" will not be on every line ok 1 - Util::lists_match( -l -v will match all input files because "religion" will not be on every line ) ok 2 - Util::sets_match( -l -v will match all input files because "religion" will not be on every line ) ok 10 - Util::ack_sets_match( -l -v will match all input files because "religion" will not be on every line, religion, --files-with-matches, -v, --sort-files, t/text ) # Subtest: Util::ack_sets_match( -l -v will match all input files because "religion" will not be on every line, religion, --files-with-matches, --invert-match, --sort-files, t/text ) 1..2 ok 1 - Should have no output to stderr: ack religion --files-with-matches --invert-match --sort-files t/text # Subtest: Util::sets_match( -l -v will match all input files because "religion" will not be on every line ) 1..1 # Subtest: Util::lists_match( -l -v will match all input files because "religion" will not be on every line ) 1..1 ok 1 - -l -v will match all input files because "religion" will not be on every line ok 1 - Util::lists_match( -l -v will match all input files because "religion" will not be on every line ) ok 2 - Util::sets_match( -l -v will match all input files because "religion" will not be on every line ) ok 11 - Util::ack_sets_match( -l -v will match all input files because "religion" will not be on every line, religion, --files-with-matches, --invert-match, --sort-files, t/text ) ok t/ack-m.t .................... 1..2 # Subtest: Basic -m 1..2 # Subtest: Util::ack_lists_match( Should show only 3 lines per file, -m, 3, -w, the, t/text/bill-of-rights.txt, t/text/constitution.txt ) 1..2 ok 1 - Should have no output to stderr: ack -m 3 -w the t/text/bill-of-rights.txt t/text/constitution.txt # Subtest: Util::lists_match( Should show only 3 lines per file ) 1..1 ok 1 - Should show only 3 lines per file ok 2 - Util::lists_match( Should show only 3 lines per file ) ok 1 - Util::ack_lists_match( Should show only 3 lines per file, -m, 3, -w, the, t/text/bill-of-rights.txt, t/text/constitution.txt ) # Subtest: Util::ack_lists_match( We should only get one line back for the entire run, not just per file., -1, -w, the, t/text/bill-of-rights.txt, t/text/constitution.txt ) 1..2 ok 1 - Should have no output to stderr: ack -1 -w the t/text/bill-of-rights.txt t/text/constitution.txt # Subtest: Util::lists_match( We should only get one line back for the entire run, not just per file. ) 1..1 ok 1 - We should only get one line back for the entire run, not just per file. ok 2 - Util::lists_match( We should only get one line back for the entire run, not just per file. ) ok 2 - Util::ack_lists_match( We should only get one line back for the entire run, not just per file., -1, -w, the, t/text/bill-of-rights.txt, t/text/constitution.txt ) ok 1 - Basic -m # Subtest: -m with -L 1..2 ok 1 - Should have no output to stderr: ack -m 3 -l --sort-files the t/text ok 2 ok 2 - -m with -L ok # 1087 t/ack-man.t .................. 1..2 ok 1 - Manual should be between 900-2000 lines long but is actually 1087 long ok 2 - Nothing in STDERR ok t/ack-match.t ................ 1..6 # Subtest: main::test_match( --sort-files ) ok 1 - Should have no output to stderr: ack --sort-files Sue t/text ok 2 - Should have no output to stderr: ack --sort-files t/text --match Sue # Subtest: Util::sets_match( Same output for regex 'Sue'. ) 1..1 # Subtest: Util::lists_match( Same output for regex 'Sue'. ) 1..1 ok 1 - Same output for regex 'Sue'. ok 1 - Util::lists_match( Same output for regex 'Sue'. ) ok 3 - Util::sets_match( Same output for regex 'Sue'. ) 1..3 ok 1 - main::test_match( --sort-files ) # Subtest: main::test_match( -i, --sort-files ) ok 1 - Should have no output to stderr: ack -i --sort-files boy t/text ok 2 - Should have no output to stderr: ack -i --sort-files t/text --match boy # Subtest: Util::sets_match( Same output for regex 'boy'. ) 1..1 # Subtest: Util::lists_match( Same output for regex 'boy'. ) 1..1 ok 1 - Same output for regex 'boy'. ok 1 - Util::lists_match( Same output for regex 'boy'. ) ok 3 - Util::sets_match( Same output for regex 'boy'. ) 1..3 ok 2 - main::test_match( -i, --sort-files ) # Subtest: main::test_match( -Q, --sort-files ) ok 1 - Should have no output to stderr: ack -Q --sort-files ll+ t/text ok 2 - Should have no output to stderr: ack -Q --sort-files t/text --match ll+ # Subtest: Util::sets_match( Same output for regex 'll+'. ) 1..1 # Subtest: Util::lists_match( Same output for regex 'll+'. ) 1..1 ok 1 - Same output for regex 'll+'. ok 1 - Util::lists_match( Same output for regex 'll+'. ) ok 3 - Util::sets_match( Same output for regex 'll+'. ) 1..3 ok 3 - main::test_match( -Q, --sort-files ) # Subtest: main::test_match( -w, --sort-files ) ok 1 - Should have no output to stderr: ack -w --sort-files gon t/text ok 2 - Should have no output to stderr: ack -w --sort-files t/text --match gon # Subtest: Util::sets_match( Same output for regex 'gon'. ) 1..1 # Subtest: Util::lists_match( Same output for regex 'gon'. ) 1..1 ok 1 - Same output for regex 'gon'. ok 1 - Util::lists_match( Same output for regex 'gon'. ) ok 3 - Util::sets_match( Same output for regex 'gon'. ) 1..3 ok 4 - main::test_match( -w, --sort-files ) ok 5 - Should have no output to stderr: ack --match Sue # Subtest: Not giving a regex when piping into ack should result in an error 1..4 ok 1 - ack should return an error when piped into without a regex ok 2 - ack should return no STDOUT when piped into without a regex ok 3 - Has to have at least one line of error message, but could have more under Appveyor ok 4 - Error message matches ok 6 - Not giving a regex when piping into ack should result in an error ok t/ack-n.t .................... 1..10 ok 1 - Should have no output to stderr: ack -n --sort-files apple t/swamp/groceries # Subtest: Util::lists_match( -n should disable recursion ) 1..1 ok 1 - -n should disable recursion ok 2 - Util::lists_match( -n should disable recursion ) ok 3 - Should have no output to stderr: ack --no-recurse --sort-files apple t/swamp/groceries # Subtest: Util::lists_match( --no-recurse should disable recursion ) 1..1 ok 1 - --no-recurse should disable recursion ok 4 - Util::lists_match( --no-recurse should disable recursion ) ok 5 - Should have no output to stderr: ack -n -r --sort-files apple t/swamp/groceries # Subtest: Util::lists_match( -r after -n should re-enable recursion ) 1..1 ok 1 - -r after -n should re-enable recursion ok 6 - Util::lists_match( -r after -n should re-enable recursion ) ok 7 - Should have no output to stderr: ack --no-recurse -R --sort-files apple t/swamp/groceries # Subtest: Util::lists_match( -R after --no-recurse should re-enable recursion ) 1..1 ok 1 - -R after --no-recurse should re-enable recursion ok 8 - Util::lists_match( -R after --no-recurse should re-enable recursion ) ok 9 - Should have no output to stderr: ack --no-recurse --recurse --sort-files apple t/swamp/groceries # Subtest: Util::lists_match( --recurse after --no-recurse should re-enable recursion ) 1..1 ok 1 - --recurse after --no-recurse should re-enable recursion ok 10 - Util::lists_match( --recurse after --no-recurse should re-enable recursion ) ok t/ack-o.t .................... 1..2 # Subtest: Util::ack_lists_match( Find all the things without -o, the\s+\S+, t/text/gettysburg.txt ) 1..2 ok 1 - Should have no output to stderr: ack the\s+\S+ t/text/gettysburg.txt # Subtest: Util::lists_match( Find all the things without -o ) 1..1 ok 1 - Find all the things without -o ok 2 - Util::lists_match( Find all the things without -o ) ok 1 - Util::ack_lists_match( Find all the things without -o, the\s+\S+, t/text/gettysburg.txt ) # Subtest: Util::ack_lists_match( Find all the things with -o, the\s+\S+, -o, t/text/gettysburg.txt ) 1..2 ok 1 - Should have no output to stderr: ack the\s+\S+ -o t/text/gettysburg.txt # Subtest: Util::lists_match( Find all the things with -o ) 1..1 ok 1 - Find all the things with -o ok 2 - Util::lists_match( Find all the things with -o ) ok 2 - Util::ack_lists_match( Find all the things with -o, the\s+\S+, -o, t/text/gettysburg.txt ) ok t/ack-output.t ............... 1..46 # Subtest: Util::ack_sets_match( Find all the things with --output function, --output=x$1x, free(\S+), --sort-files, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack --output=x$1x free(\S+) --sort-files t/text/ # Subtest: Util::sets_match( Find all the things with --output function ) 1..1 # Subtest: Util::lists_match( Find all the things with --output function ) 1..1 ok 1 - Find all the things with --output function ok 1 - Util::lists_match( Find all the things with --output function ) ok 2 - Util::sets_match( Find all the things with --output function ) ok 1 - Util::ack_sets_match( Find all the things with --output function, --output=x$1x, free(\S+), --sort-files, t/text/ ) ok 2 - Should have no output to stderr: ack free --output=$_x$_ t/text/gettysburg.txt # Subtest: Util::lists_match( Matching line ) 1..1 ok 1 - Matching line ok 3 - Util::lists_match( Matching line ) ok 4 - Should have no output to stderr: ack free --sort-files -h --output=$_ t/text # Subtest: Util::lists_match( Matching line ) 1..1 ok 1 - Matching line ok 5 - Util::lists_match( Matching line ) # Subtest: Util::ack_sets_match( Find all the things with --output function, --output="$1", (free\w*), --sort-files, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack --output="$1" (free\w*) --sort-files t/text/ # Subtest: Util::sets_match( Find all the things with --output function ) 1..1 # Subtest: Util::lists_match( Find all the things with --output function ) 1..1 ok 1 - Find all the things with --output function ok 1 - Util::lists_match( Find all the things with --output function ) ok 2 - Util::sets_match( Find all the things with --output function ) ok 6 - Util::ack_sets_match( Find all the things with --output function, --output="$1", (free\w*), --sort-files, t/text/ ) ok 7 - Should have no output to stderr: ack free --output=$& t/text/gettysburg.txt # Subtest: Util::lists_match( Part of a line matching pattern ) 1..1 ok 1 - Part of a line matching pattern ok 8 - Util::lists_match( Part of a line matching pattern ) ok 9 - Should have no output to stderr: ack free --sort-files --output=$& t/text # Subtest: Util::lists_match( Part of a line matching pattern ) 1..1 ok 1 - Part of a line matching pattern ok 10 - Util::lists_match( Part of a line matching pattern ) ok 11 - Should have no output to stderr: ack freedom --output=$` t/text/gettysburg.txt # Subtest: Util::lists_match( Part of a line preceding match ) 1..1 ok 1 - Part of a line preceding match ok 12 - Util::lists_match( Part of a line preceding match ) ok 13 - Should have no output to stderr: ack freedom -h --sort-files --output=$` t/text/ # Subtest: Util::lists_match( Part of a line preceding match ) 1..1 ok 1 - Part of a line preceding match ok 14 - Util::lists_match( Part of a line preceding match ) ok 15 - Should have no output to stderr: ack freedom --output=$' t/text/gettysburg.txt # Subtest: Util::lists_match( Part of a line that follows match ) 1..1 ok 1 - Part of a line that follows match ok 16 - Util::lists_match( Part of a line that follows match ) ok 17 - Should have no output to stderr: ack freedom -h --sort-files --output=$' t/text/ # Subtest: Util::lists_match( Part of a line that follows match ) 1..1 ok 1 - Part of a line that follows match ok 18 - Util::lists_match( Part of a line that follows match ) ok 19 - Should have no output to stderr: ack (love).+(God).+(Montresor) --output=$1-$2-$3 t/text/amontillado.txt # Subtest: Util::lists_match( Capturing parentheses match ) 1..1 ok 1 - Capturing parentheses match ok 20 - Util::lists_match( Capturing parentheses match ) ok 21 - Should have no output to stderr: ack (\w+)\s(free)\s(\w+) -h --sort-files --output=$1-$2-$3 t/text/ # Subtest: Util::lists_match( Capturing parentheses match ) 1..1 ok 1 - Capturing parentheses match ok 22 - Util::lists_match( Capturing parentheses match ) ok 23 - Should have no output to stderr: ack quartered --output=line:$. t/text/bill-of-rights.txt # Subtest: Util::lists_match( Line number ) 1..1 ok 1 - Line number ok 24 - Util::lists_match( Line number ) ok 25 - Should have no output to stderr: ack free --sort-files --output=line:$. t/text/ # Subtest: Util::lists_match( Line number ) 1..1 ok 1 - Line number ok 26 - Util::lists_match( Line number ) ok 27 - Should have no output to stderr: ack (love)|(hate) --sort-files --output=$+ t/text/ # Subtest: Util::lists_match( Last paren match ) 1..1 ok 1 - Last paren match ok 28 - Util::lists_match( Last paren match ) ok 29 - Should have no output to stderr: ack (love)|(hate) --sort-files --output=$+-$.-$' t/text/ # Subtest: Util::lists_match( Combos 1 ) 1..1 ok 1 - Combos 1 ok 30 - Util::lists_match( Combos 1 ) ok 31 - Should have no output to stderr: ack (happy) --sort-files -i --output=$1-$&-$1 t/text/ # Subtest: Util::lists_match( Combos 2 ) 1..1 ok 1 - Combos 2 ok 32 - Util::lists_match( Combos 2 ) ok 33 - Should have no output to stderr: ack (happy) --sort-files -i --output=$`---$'--$+ t/text/ # Subtest: Util::lists_match( Combos 2 ) 1..1 ok 1 - Combos 2 ok 34 - Util::lists_match( Combos 2 ) ok 35 - Should have no output to stderr: ack (\d\d) --output=Section $1 on line $. t/text/bill-of-rights.txt t/text/constitution.txt # Subtest: Util::lists_match( Numeric substitutions ) 1..1 ok 1 - Numeric substitutions ok 36 - Util::lists_match( Numeric substitutions ) ok 37 - Should have no output to stderr: ack \s+quartered\s+(.+) --output=$`\n$1\t$1 t/text/ # Subtest: Util::lists_match( Character substitutions ) 1..1 ok 1 - Character substitutions ok 38 - Util::lists_match( Character substitutions ) ok 39 - Should have no output to stderr: ack visage --output=$f:$.:$_ t/text/ozymandias.txt # Subtest: Util::lists_match( Filename with matching line ) 1..1 ok 1 - Filename with matching line ok 40 - Util::lists_match( Filename with matching line ) ok 41 - Should have no output to stderr: ack visage --output=$f:$.:$& t/text/ozymandias.txt # Subtest: Util::lists_match( Filename with match ) 1..1 ok 1 - Filename with match ok 42 - Util::lists_match( Filename with match ) ok 43 - Should have no output to stderr: ack (visage) --output=$f:$.:$+ t/text/ozymandias.txt # Subtest: Util::lists_match( Filename with last match ) 1..1 ok 1 - Filename with last match ok 44 - Util::lists_match( Filename with last match ) ok 45 - Should have no output to stderr: ack sand --output=literal t/text/ozymandias.txt # Subtest: Util::lists_match( Filename with last match ) 1..1 ok 1 - Filename with last match ok 46 - Util::lists_match( Filename with last match ) ok t/ack-pager.t ................ 1..9 # Subtest: Util::lists_match( NO_PAGER ) 1..1 ok 1 - NO_PAGER ok 1 - Util::lists_match( NO_PAGER ) # Subtest: Util::lists_match( PAGER ) 1..1 ok 1 - PAGER ok 2 - Util::lists_match( PAGER ) # Subtest: Util::lists_match( PAGER_WITH_OPTS ) 1..1 ok 1 - PAGER_WITH_OPTS ok 3 - Util::lists_match( PAGER_WITH_OPTS ) # Subtest: Util::lists_match( FORCE_NO_PAGER ) 1..1 ok 1 - FORCE_NO_PAGER ok 4 - Util::lists_match( FORCE_NO_PAGER ) # Subtest: Util::lists_match( PAGER_ENV ) 1..1 not ok 1 - PAGER_ENV # Failed test 'PAGER_ENV' # at t/Util.pm line 582. # +----+----------------------------------------------+----+---------------------------------------------+ # | Elt|Got | Elt|Expected | # +----+----------------------------------------------+----+---------------------------------------------+ # | 0|[ | 0|[ | # | 1| 't/text/raven.txt', | 1| 't/text/raven.txt', | # * 2| '55: Quoth the Raven, "Nevermore."', * | | # | 3| '62: With such name as "Nevermore."', | 2| '62: With such name as "Nevermore."', | # * 4| '69: Then the bird said, "Nevermore."', * | | # | 5| '76: Of \'Never -- nevermore.\'', | 3| '76: Of \'Never -- nevermore.\'', | # * 6| '83: Meant in croaking "Nevermore."', * | | # | 7| '90: She shall press, ah, nevermore!', | 4| '90: She shall press, ah, nevermore!', | # * 8| '97: Quoth the Raven, "Nevermore."', * | | # | 9| '104: Quoth the Raven, "Nevermore."', | 5| '104: Quoth the Raven, "Nevermore."', | # * 10| '111: Quoth the Raven, "Nevermore."', * 6| '118: Quoth the Raven, "Nevermore."' * # * 11| '118: Quoth the Raven, "Nevermore."', * | | # * 12| '125: Shall be lifted--nevermore!' * | | # | 13|] | 7|] | # +----+----------------------------------------------+----+---------------------------------------------+ # actual[ # 't/text/raven.txt', # '55: Quoth the Raven, "Nevermore."', # '62: With such name as "Nevermore."', # '69: Then the bird said, "Nevermore."', # '76: Of \'Never -- nevermore.\'', # '83: Meant in croaking "Nevermore."', # '90: She shall press, ah, nevermore!', # '97: Quoth the Raven, "Nevermore."', # '104: Quoth the Raven, "Nevermore."', # '111: Quoth the Raven, "Nevermore."', # '118: Quoth the Raven, "Nevermore."', # '125: Shall be lifted--nevermore!' # ] # expected[ # 't/text/raven.txt', # '62: With such name as "Nevermore."', # '76: Of \'Never -- nevermore.\'', # '90: She shall press, ah, nevermore!', # '104: Quoth the Raven, "Nevermore."', # '118: Quoth the Raven, "Nevermore."' # ] # Looks like you failed 1 test of 1. not ok 5 - Util::lists_match( PAGER_ENV ) # TODO Setting ACK_PAGER in tests won't work for the time being # Failed (TODO) test 'Util::lists_match( PAGER_ENV )' # at t/ack-pager.t line 138. # Subtest: Util::lists_match( PAGER_ENV_OVERRIDE ) 1..1 ok 1 - PAGER_ENV_OVERRIDE ok 6 - Util::lists_match( PAGER_ENV_OVERRIDE ) # Subtest: Util::lists_match( PAGER_ACKRC ) 1..1 ok 1 - PAGER_ACKRC ok 7 - Util::lists_match( PAGER_ACKRC ) # Subtest: Util::lists_match( PAGER_ACKRC_OVERRIDE ) 1..1 ok 1 - PAGER_ACKRC_OVERRIDE ok 8 - Util::lists_match( PAGER_ACKRC_OVERRIDE ) # Subtest: Util::lists_match( PAGER_NOENV ) 1..1 ok 1 - PAGER_NOENV ok 9 - Util::lists_match( PAGER_NOENV ) ok t/ack-passthru.t ............. 1..6 # Subtest: Gettysburg without --passthru 1..2 ok 1 - Should have no output to stderr: ack war --color t/text/gettysburg.txt # Subtest: Util::lists_match( Search for war ) 1..1 ok 1 - Search for war ok 2 - Util::lists_match( Search for war ) ok 1 - Gettysburg without --passthru # Subtest: Gettysburg with --passthru 1..2 ok 1 - Should have no output to stderr: ack war --passthru --color t/text/gettysburg.txt # Subtest: Util::lists_match( Still lookin' for war, in passthru mode ) 1..1 ok 1 - Still lookin' for war, in passthru mode ok 2 - Util::lists_match( Still lookin' for war, in passthru mode ) ok 2 - Gettysburg with --passthru # Subtest: --passthru with/without ranges 1..4 ok 1 - Should have no output to stderr: ack Rebeck --passthru --color t/range/johnny-rebeck.txt # Subtest: Util::lists_match( Searching without a range ) 1..1 ok 1 - Searching without a range ok 2 - Util::lists_match( Searching without a range ) ok 3 - Should have no output to stderr: ack Rebeck --passthru --color t/range/johnny-rebeck.txt --range-start=CHORUS --range-end=VERSE # Subtest: Util::lists_match( Searching with a range ) 1..1 ok 1 - Searching with a range ok 4 - Util::lists_match( Searching with a range ) ok 3 - --passthru with/without ranges # Subtest: With filename 1..2 ok 1 - Should have no output to stderr: ack li\w+ t/text/ozymandias.txt -H --passthru # Subtest: Util::lists_match( With filename ) 1..1 ok 1 - With filename ok 2 - Util::lists_match( With filename ) ok 4 - With filename ok 5 - Got all the lines back ok 6 - Only two lines are highlighted ok t/ack-print0.t ............... 1..15 ok 1 - Should have no output to stderr: ack -g i t/text/ # Subtest: Util::sets_match( Files found with -g and without --print0 ) 1..1 # Subtest: Util::lists_match( Files found with -g and without --print0 ) 1..1 ok 1 - Files found with -g and without --print0 ok 1 - Util::lists_match( Files found with -g and without --print0 ) ok 2 - Util::sets_match( Files found with -g and without --print0 ) ok 3 - ... no null byte in output ok 4 - Should have no output to stderr: ack -g i --sort-files --print0 t/text ok 5 - Files found with -g and with --print0 ok 6 - Should have no output to stderr: ack -f --print0 t/text/ ok 7 - Only one line of output with -f and --print0 ok 8 - ... and null bytes in output ok 9 - Should have no output to stderr: ack -l --print0 of t/text/ ok 10 - Only one line of output with -l and --print0 ok 11 - ... and null bytes in output ok 12 - Should have no output to stderr: ack --count --print0 of t/text/ ok 13 - Only one line of output with --count and --print0 ok 14 - ... and null bytes in output ok 15 - ... and ":\d+" in output, so the counting also works ok t/ack-proximate.t ............ 1..6 # Subtest: Grouped proximate 1..2 # Subtest: Util::ack_lists_match( Grouped proximate, --proximate, -i, --group, --sort, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --proximate -i --group --sort court t/text # Subtest: Util::lists_match( Grouped proximate ) 1..1 ok 1 - Grouped proximate ok 2 - Util::lists_match( Grouped proximate ) ok 1 - Util::ack_lists_match( Grouped proximate, --proximate, -i, --group, --sort, court, t/text ) # Subtest: Util::ack_lists_match( Grouped proximate, -p, -i, --group, --sort, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack -p -i --group --sort court t/text # Subtest: Util::lists_match( Grouped proximate ) 1..1 ok 1 - Grouped proximate ok 2 - Util::lists_match( Grouped proximate ) ok 2 - Util::ack_lists_match( Grouped proximate, -p, -i, --group, --sort, court, t/text ) ok 1 - Grouped proximate # Subtest: Ungrouped proximate 1..2 # Subtest: Util::ack_lists_match( Ungrouped proximate, --proximate, -i, --nogroup, --sort, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --proximate -i --nogroup --sort court t/text # Subtest: Util::lists_match( Ungrouped proximate ) 1..1 ok 1 - Ungrouped proximate ok 2 - Util::lists_match( Ungrouped proximate ) ok 1 - Util::ack_lists_match( Ungrouped proximate, --proximate, -i, --nogroup, --sort, court, t/text ) # Subtest: Util::ack_lists_match( Ungrouped proximate, -p, -i, --nogroup, --sort, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack -p -i --nogroup --sort court t/text # Subtest: Util::lists_match( Ungrouped proximate ) 1..1 ok 1 - Ungrouped proximate ok 2 - Util::lists_match( Ungrouped proximate ) ok 2 - Util::ack_lists_match( Ungrouped proximate, -p, -i, --nogroup, --sort, court, t/text ) ok 2 - Ungrouped proximate # Subtest: Grouped proximate=2 1..2 # Subtest: Util::ack_lists_match( Grouped proximate=2, --proximate=2, --group, -i, --sort, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --proximate=2 --group -i --sort court t/text # Subtest: Util::lists_match( Grouped proximate=2 ) 1..1 ok 1 - Grouped proximate=2 ok 2 - Util::lists_match( Grouped proximate=2 ) ok 1 - Util::ack_lists_match( Grouped proximate=2, --proximate=2, --group, -i, --sort, court, t/text ) # Subtest: Util::ack_lists_match( Grouped proximate=2, -p2, --group, -i, --sort, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack -p2 --group -i --sort court t/text # Subtest: Util::lists_match( Grouped proximate=2 ) 1..1 ok 1 - Grouped proximate=2 ok 2 - Util::lists_match( Grouped proximate=2 ) ok 2 - Util::ack_lists_match( Grouped proximate=2, -p2, --group, -i, --sort, court, t/text ) ok 3 - Grouped proximate=2 # Subtest: Ungrouped proximate=2 1..2 # Subtest: Util::ack_lists_match( Ungrouped proximate=2, --proximate=2, --nogroup, -i, --sort, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --proximate=2 --nogroup -i --sort court t/text # Subtest: Util::lists_match( Ungrouped proximate=2 ) 1..1 ok 1 - Ungrouped proximate=2 ok 2 - Util::lists_match( Ungrouped proximate=2 ) ok 1 - Util::ack_lists_match( Ungrouped proximate=2, --proximate=2, --nogroup, -i, --sort, court, t/text ) # Subtest: Util::ack_lists_match( Ungrouped proximate=2, -p2, --nogroup, -i, --sort, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack -p2 --nogroup -i --sort court t/text # Subtest: Util::lists_match( Ungrouped proximate=2 ) 1..1 ok 1 - Ungrouped proximate=2 ok 2 - Util::lists_match( Ungrouped proximate=2 ) ok 2 - Util::ack_lists_match( Ungrouped proximate=2, -p2, --nogroup, -i, --sort, court, t/text ) ok 4 - Ungrouped proximate=2 # Subtest: Ungrouped proximate=20 1..2 # Subtest: Util::ack_lists_match( Ungrouped proximate=20, --proximate=20, --nogroup, -i, --sort, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --proximate=20 --nogroup -i --sort court t/text # Subtest: Util::lists_match( Ungrouped proximate=20 ) 1..1 ok 1 - Ungrouped proximate=20 ok 2 - Util::lists_match( Ungrouped proximate=20 ) ok 1 - Util::ack_lists_match( Ungrouped proximate=20, --proximate=20, --nogroup, -i, --sort, court, t/text ) # Subtest: Util::ack_lists_match( Ungrouped proximate=20, -p20, --nogroup, -i, --sort, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack -p20 --nogroup -i --sort court t/text # Subtest: Util::lists_match( Ungrouped proximate=20 ) 1..1 ok 1 - Ungrouped proximate=20 ok 2 - Util::lists_match( Ungrouped proximate=20 ) ok 2 - Util::ack_lists_match( Ungrouped proximate=20, -p20, --nogroup, -i, --sort, court, t/text ) ok 5 - Ungrouped proximate=20 # Subtest: -P overrides --prox 1..1 # Subtest: Util::ack_lists_match( -P overrides --prox, --proximate=20, --nogroup, -i, --sort, -P, court, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --proximate=20 --nogroup -i --sort -P court t/text # Subtest: Util::lists_match( -P overrides --prox ) 1..1 ok 1 - -P overrides --prox ok 2 - Util::lists_match( -P overrides --prox ) ok 1 - Util::ack_lists_match( -P overrides --prox, --proximate=20, --nogroup, -i, --sort, -P, court, t/text ) ok 6 - -P overrides --prox ok t/ack-Q.t .................... 1..3 # Subtest: Plus sign 1..3 # Subtest: Util::ack_lists_match( No matches without the -Q, svn+ssh, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack svn+ssh t/swamp # Subtest: Util::lists_match( No matches without the -Q ) 1..1 ok 1 - No matches without the -Q ok 2 - Util::lists_match( No matches without the -Q ) ok 1 - Util::ack_lists_match( No matches without the -Q, svn+ssh, t/swamp ) # Subtest: Util::ack_lists_match( -Q should make svn+ssh finable, svn+ssh, t/swamp, -Q ) 1..2 ok 1 - Should have no output to stderr: ack svn+ssh t/swamp -Q # Subtest: Util::lists_match( -Q should make svn+ssh finable ) 1..1 ok 1 - -Q should make svn+ssh finable ok 2 - Util::lists_match( -Q should make svn+ssh finable ) ok 2 - Util::ack_lists_match( -Q should make svn+ssh finable, svn+ssh, t/swamp, -Q ) # Subtest: Util::ack_lists_match( --literal should make svn+ssh finable, svn+ssh, t/swamp, --literal ) 1..2 ok 1 - Should have no output to stderr: ack svn+ssh t/swamp --literal # Subtest: Util::lists_match( --literal should make svn+ssh finable ) 1..1 ok 1 - --literal should make svn+ssh finable ok 2 - Util::lists_match( --literal should make svn+ssh finable ) ok 3 - Util::ack_lists_match( --literal should make svn+ssh finable, svn+ssh, t/swamp, --literal ) ok 1 - Plus sign # Subtest: Square brackets 1..4 ok 1 - Should have no output to stderr: ack [ack] t/swamp ok 2 - Without quoting, the [ack] returns many matches # Subtest: Util::ack_lists_match( -Q should make svn+ssh finable, [ack], t/swamp, -Q ) 1..2 ok 1 - Should have no output to stderr: ack [ack] t/swamp -Q # Subtest: Util::lists_match( -Q should make svn+ssh finable ) 1..1 ok 1 - -Q should make svn+ssh finable ok 2 - Util::lists_match( -Q should make svn+ssh finable ) ok 3 - Util::ack_lists_match( -Q should make svn+ssh finable, [ack], t/swamp, -Q ) # Subtest: Util::ack_lists_match( --literal should make svn+ssh finable, [ack], t/swamp, --literal ) 1..2 ok 1 - Should have no output to stderr: ack [ack] t/swamp --literal # Subtest: Util::lists_match( --literal should make svn+ssh finable ) 1..1 ok 1 - --literal should make svn+ssh finable ok 2 - Util::lists_match( --literal should make svn+ssh finable ) ok 4 - Util::ack_lists_match( --literal should make svn+ssh finable, [ack], t/swamp, --literal ) ok 2 - Square brackets # Subtest: Patterns that would be invalid if not -Q 1..21 ok 1 - No output ok 2 - Line 1 OK ok 3 - Line 2 OK ok 4 - Does the explanation match? ok 5 - Only 3 lines ok 6 - No output ok 7 - Line 1 OK ok 8 - Line 2 OK ok 9 - Does the explanation match? ok 10 - Only 3 lines ok 11 - No output ok 12 - Line 1 OK ok 13 - Line 2 OK ok 14 - Does the explanation match? ok 15 - Only 3 lines ok 16 - Should have no output to stderr: ack -Q ( ok 17 - When we quote, all is happy and we get lots of results ok 18 - Should have no output to stderr: ack -Q [ ok 19 - When we quote, all is happy and we get lots of results ok 20 - Should have no output to stderr: ack -Q * ok 21 - When we quote, all is happy and we get lots of results ok 3 - Patterns that would be invalid if not -Q ok cannot chdir to child for /tmp/gKbdPuhQEc/foo: Permission denied at /usr/lib/x86_64-linux-gnu/perl-base/File/Temp.pm line 2616. cannot remove directory for /tmp/gKbdPuhQEc: Directory not empty at /usr/lib/x86_64-linux-gnu/perl-base/File/Temp.pm line 2616. t/ack-s.t .................... 1..4 ok 1 - Exactly one line of error ok 2 - Error if there's no file ok 3 - Nothing in stderr ok 4 - Nothing in stderr ok t/ack-show-types.t ........... 1..10 ok 1 - Should have no output to stderr: ack -f --show-types t/swamp/Rakefile ok 2 - Only one file should be returned from 'ack -f --show-types t/swamp/Rakefile' # Subtest: Util::sets_match( 'ack -f --show-types t/swamp/Rakefile' must return all the expected types ) 1..1 # Subtest: Util::lists_match( 'ack -f --show-types t/swamp/Rakefile' must return all the expected types ) 1..1 ok 1 - 'ack -f --show-types t/swamp/Rakefile' must return all the expected types ok 1 - Util::lists_match( 'ack -f --show-types t/swamp/Rakefile' must return all the expected types ) ok 3 - Util::sets_match( 'ack -f --show-types t/swamp/Rakefile' must return all the expected types ) ok 4 - Should have no output to stderr: ack -g \bRakef --show-types t/swamp ok 5 - Only one file should be returned from 'ack -g \bRakef --show-types t/swamp' # Subtest: Util::sets_match( 'ack -g \bRakef --show-types t/swamp' must return all the expected types ) 1..1 # Subtest: Util::lists_match( 'ack -g \bRakef --show-types t/swamp' must return all the expected types ) 1..1 ok 1 - 'ack -g \bRakef --show-types t/swamp' must return all the expected types ok 1 - Util::lists_match( 'ack -g \bRakef --show-types t/swamp' must return all the expected types ) ok 6 - Util::sets_match( 'ack -g \bRakef --show-types t/swamp' must return all the expected types ) ok 7 - No output ok 8 - A single line should be present on standard error ok 9 - Right error message ok 10 - The ack command should not fail ok t/ack-type-del.t ............. 1..12 ok 1 - Found initial 11 files ok 2 - Nothing in stderr ok 3 - Nothing in stdout ok 4 ok 5 - Got one output line ok 6 - Nothing in stderr ok 7 - Should have no output to stderr: ack --help-types ok 8 ok 9 - Should have no output to stderr: ack --type-del=perl --type-del=perltest --help-types ok 10 ok 11 - Should have no output to stderr: ack --type-del=perl --type-del=perltest --dump # Subtest: Util::lists_match( --type-del should show up in --dump output ) 1..1 ok 1 - --type-del should show up in --dump output ok 12 - Util::lists_match( --type-del should show up in --dump output ) ok t/ack-type.t ................. 1..26 ok 1 - Should have no output to stderr: ack --type=perl --nogroup --noheading --nocolor perl t/swamp # Subtest: Util::sets_match( TEST_TYPE with --type=perl ) 1..1 # Subtest: Util::lists_match( TEST_TYPE with --type=perl ) 1..1 ok 1 - TEST_TYPE with --type=perl ok 1 - Util::lists_match( TEST_TYPE with --type=perl ) ok 2 - Util::sets_match( TEST_TYPE with --type=perl ) ok 3 - Should have no output to stderr: ack -t perl --nogroup --noheading --nocolor perl t/swamp # Subtest: Util::sets_match( TEST_TYPE with -t perl ) 1..1 # Subtest: Util::lists_match( TEST_TYPE with -t perl ) 1..1 ok 1 - TEST_TYPE with -t perl ok 1 - Util::lists_match( TEST_TYPE with -t perl ) ok 4 - Util::sets_match( TEST_TYPE with -t perl ) ok 5 - Should have no output to stderr: ack --perl --nogroup --noheading --nocolor perl t/swamp # Subtest: Util::sets_match( TEST_TYPE with --perl ) 1..1 # Subtest: Util::lists_match( TEST_TYPE with --perl ) 1..1 ok 1 - TEST_TYPE with --perl ok 1 - Util::lists_match( TEST_TYPE with --perl ) ok 6 - Util::sets_match( TEST_TYPE with --perl ) ok 7 - Should have no output to stderr: ack --type=noperl --nogroup --noheading --nocolor perl t/swamp # Subtest: Util::sets_match( TEST_NOTYPE with --type ) 1..1 # Subtest: Util::lists_match( TEST_NOTYPE with --type ) 1..1 ok 1 - TEST_NOTYPE with --type ok 1 - Util::lists_match( TEST_NOTYPE with --type ) ok 8 - Util::sets_match( TEST_NOTYPE with --type ) ok 9 - Should have no output to stderr: ack --noperl --nogroup --noheading --nocolor perl t/swamp # Subtest: Util::sets_match( TEST_NOTYPE with --noperl ) 1..1 # Subtest: Util::lists_match( TEST_NOTYPE with --noperl ) 1..1 ok 1 - TEST_NOTYPE with --noperl ok 1 - Util::lists_match( TEST_NOTYPE with --noperl ) ok 10 - Util::sets_match( TEST_NOTYPE with --noperl ) ok 11 - Should have no output to stderr: ack -t noperl --nogroup --noheading --nocolor perl t/swamp # Subtest: Util::sets_match( TEST_NOTYPE with -t noperl ) 1..1 # Subtest: Util::lists_match( TEST_NOTYPE with -t noperl ) 1..1 ok 1 - TEST_NOTYPE with -t noperl ok 1 - Util::lists_match( TEST_NOTYPE with -t noperl ) ok 12 - Util::sets_match( TEST_NOTYPE with -t noperl ) ok 13 - Should have no output to stderr: ack -T perl --nogroup --noheading --nocolor perl t/swamp # Subtest: Util::sets_match( TEST_NOTYPE with -T ) 1..1 # Subtest: Util::lists_match( TEST_NOTYPE with -T ) 1..1 ok 1 - TEST_NOTYPE with -T ok 1 - Util::lists_match( TEST_NOTYPE with -T ) ok 14 - Util::sets_match( TEST_NOTYPE with -T ) ok 15 - Should have no lines back ok 16 ok 17 - Should have no lines back ok 18 ok 19 - Should have no output to stderr: ack --nohtml --html --sort-files t/swamp ok 20 ok 21 - Should have no output to stderr: ack --html --nohtml <title> t/swamp ok 22 ok 23 - Should have no output to stderr: ack --html --sort-files <title> t/swamp ok 24 ok 25 - Should have no output to stderr: ack --nohtml <title> t/swamp ok 26 ok t/ack-underline.t ............ 1..8 # Subtest: Back-references: t/ack-underline.barfly, line 22 1..2 # Subtest: Back-references: YES/NO 1..2 # Subtest: ack (\w+)-\1 1..2 ok 1 - Should have no output to stderr: ack (\w+)-\1 /tmp/jlJ3Vh1ikq # Subtest: Util::lists_match( ack (\w+)-\1 ) 1..1 ok 1 - ack (\w+)-\1 ok 2 - Util::lists_match( ack (\w+)-\1 ) ok 1 - ack (\w+)-\1 # Subtest: ack (?:(\w+)-\1) 1..2 ok 1 - Should have no output to stderr: ack (?:(\w+)-\1) /tmp/jlJ3Vh1ikq # Subtest: Util::lists_match( ack (?:(\w+)-\1) ) 1..1 ok 1 - ack (?:(\w+)-\1) ok 2 - Util::lists_match( ack (?:(\w+)-\1) ) ok 2 - ack (?:(\w+)-\1) ok 1 - Back-references: YES/NO # Subtest: Back-references: YESLINES 1..2 # Subtest: ack (\w+)-\1 1..2 ok 1 - Should have no output to stderr: ack (\w+)-\1 --underline /tmp/7J95uvwyKs # Subtest: Util::lists_match( ack (\w+)-\1 ) 1..1 ok 1 - ack (\w+)-\1 ok 2 - Util::lists_match( ack (\w+)-\1 ) ok 1 - ack (\w+)-\1 # Subtest: ack (?:(\w+)-\1) 1..2 ok 1 - Should have no output to stderr: ack (?:(\w+)-\1) --underline /tmp/7J95uvwyKs # Subtest: Util::lists_match( ack (?:(\w+)-\1) ) 1..1 ok 1 - ack (?:(\w+)-\1) ok 2 - Util::lists_match( ack (?:(\w+)-\1) ) ok 2 - ack (?:(\w+)-\1) ok 2 - Back-references: YESLINES ok 1 - Back-references: t/ack-underline.barfly, line 22 # Subtest: Single file 1..1 # Subtest: Util::ack_lists_match( Single file, --underline, Militia, t/text/bill-of-rights.txt ) 1..2 ok 1 - Should have no output to stderr: ack --underline Militia t/text/bill-of-rights.txt # Subtest: Util::lists_match( Single file ) 1..1 ok 1 - Single file ok 2 - Util::lists_match( Single file ) ok 1 - Util::ack_lists_match( Single file, --underline, Militia, t/text/bill-of-rights.txt ) ok 2 - Single file # Subtest: Grouped 1..1 # Subtest: Util::ack_lists_match( Grouped, --underline, --group, Militia, t/text/bill-of-rights.txt, t/text/ozymandias.txt ) 1..2 ok 1 - Should have no output to stderr: ack --underline --group Militia t/text/bill-of-rights.txt t/text/ozymandias.txt # Subtest: Util::lists_match( Grouped ) 1..1 ok 1 - Grouped ok 2 - Util::lists_match( Grouped ) ok 1 - Util::ack_lists_match( Grouped, --underline, --group, Militia, t/text/bill-of-rights.txt, t/text/ozymandias.txt ) ok 3 - Grouped # Subtest: Not grouped, with leading filename # Subtest: Util::ack_lists_match( Looking for Militia - before with line numbers, --underline, --nogroup, -H, Militia, t/text/bill-of-rights.txt ) 1..2 ok 1 - Should have no output to stderr: ack --underline --nogroup -H Militia t/text/bill-of-rights.txt # Subtest: Util::lists_match( Looking for Militia - before with line numbers ) 1..1 ok 1 - Looking for Militia - before with line numbers ok 2 - Util::lists_match( Looking for Militia - before with line numbers ) ok 1 - Util::ack_lists_match( Looking for Militia - before with line numbers, --underline, --nogroup, -H, Militia, t/text/bill-of-rights.txt ) 1..1 ok 4 - Not grouped, with leading filename # Subtest: Grouped --underline 1..1 # Subtest: Util::ack_lists_match( Looking for freedom, grouped, --underline, --sort-files, --group, freedom, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --underline --sort-files --group freedom t/text # Subtest: Util::lists_match( Looking for freedom, grouped ) 1..1 ok 1 - Looking for freedom, grouped ok 2 - Util::lists_match( Looking for freedom, grouped ) ok 1 - Util::ack_lists_match( Looking for freedom, grouped, --underline, --sort-files, --group, freedom, t/text ) ok 5 - Grouped --underline # Subtest: Ungrouped --underline 1..1 # Subtest: Util::ack_lists_match( Looking for freedom, ungrouped, --underline, --sort-files, --nogroup, freedom, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --underline --sort-files --nogroup freedom t/text # Subtest: Util::lists_match( Looking for freedom, ungrouped ) 1..1 ok 1 - Looking for freedom, ungrouped ok 2 - Util::lists_match( Looking for freedom, ungrouped ) ok 1 - Util::ack_lists_match( Looking for freedom, ungrouped, --underline, --sort-files, --nogroup, freedom, t/text ) ok 6 - Ungrouped --underline # Subtest: Grouped --underline with context 1..1 # Subtest: Util::ack_lists_match( Looking for freedom, grouped with context, --underline, --sort-files, --group, -C, free\w+, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --underline --sort-files --group -C free\w+ t/text # Subtest: Util::lists_match( Looking for freedom, grouped with context ) 1..1 ok 1 - Looking for freedom, grouped with context ok 2 - Util::lists_match( Looking for freedom, grouped with context ) ok 1 - Util::ack_lists_match( Looking for freedom, grouped with context, --underline, --sort-files, --group, -C, free\w+, t/text ) ok 7 - Grouped --underline with context # Subtest: Ungrouped --underline with --context 1..1 # Subtest: Util::ack_lists_match( Looking for freedom, ungrouped, --underline, --sort-files, --nogroup, -C, free\w+, t/text ) 1..2 ok 1 - Should have no output to stderr: ack --underline --sort-files --nogroup -C free\w+ t/text # Subtest: Util::lists_match( Looking for freedom, ungrouped ) 1..1 ok 1 - Looking for freedom, ungrouped ok 2 - Util::lists_match( Looking for freedom, ungrouped ) ok 1 - Util::ack_lists_match( Looking for freedom, ungrouped, --underline, --sort-files, --nogroup, -C, free\w+, t/text ) ok 8 - Ungrouped --underline with --context ok t/ack-v.t .................... 1..2 # Subtest: Util::ack_lists_match( Find the lines that do not contain a "w", -v, w, t/text/ozymandias.txt ) 1..2 ok 1 - Should have no output to stderr: ack -v w t/text/ozymandias.txt # Subtest: Util::lists_match( Find the lines that do not contain a "w" ) 1..1 ok 1 - Find the lines that do not contain a "w" ok 2 - Util::lists_match( Find the lines that do not contain a "w" ) ok 1 - Util::ack_lists_match( Find the lines that do not contain a "w", -v, w, t/text/ozymandias.txt ) # Subtest: Util::ack_lists_match( Find the lines that do not contain a "w", ignoring case, -i, -v, w, t/text/ozymandias.txt ) 1..2 ok 1 - Should have no output to stderr: ack -i -v w t/text/ozymandias.txt # Subtest: Util::lists_match( Find the lines that do not contain a "w", ignoring case ) 1..1 ok 1 - Find the lines that do not contain a "w", ignoring case ok 2 - Util::lists_match( Find the lines that do not contain a "w", ignoring case ) ok 2 - Util::ack_lists_match( Find the lines that do not contain a "w", ignoring case, -i, -v, w, t/text/ozymandias.txt ) ok t/ack-w.t .................... 1..15 # Subtest: Straight -w: t/ack-w.barfly, line 23 1..2 # Subtest: Straight -w: YES/NO 1..1 # Subtest: ack -w foo 1..2 ok 1 - Should have no output to stderr: ack -w foo /tmp/Ks5opQ982t # Subtest: Util::lists_match( ack -w foo ) 1..1 ok 1 - ack -w foo ok 2 - Util::lists_match( ack -w foo ) ok 1 - ack -w foo ok 1 - Straight -w: YES/NO # Subtest: Straight -w: YESLINES 1..1 # Subtest: ack -w foo 1..2 ok 1 - Should have no output to stderr: ack -w foo --underline /tmp/jrpQ81ltXG # Subtest: Util::lists_match( ack -w foo ) 1..1 ok 1 - ack -w foo ok 2 - Util::lists_match( ack -w foo ) ok 1 - ack -w foo ok 2 - Straight -w: YESLINES ok 1 - Straight -w: t/ack-w.barfly, line 23 # Subtest: optional character: t/ack-w.barfly, line 53 1..2 # Subtest: optional character: YES/NO 1..1 # Subtest: ack foot? 1..2 ok 1 - Should have no output to stderr: ack foot? /tmp/Vlx8vSXv_e # Subtest: Util::lists_match( ack foot? ) 1..1 ok 1 - ack foot? ok 2 - Util::lists_match( ack foot? ) ok 1 - ack foot? ok 1 - optional character: YES/NO # Subtest: optional character: YESLINES 1..1 # Subtest: ack foot? 1..2 ok 1 - Should have no output to stderr: ack foot? --underline /tmp/6ZCrwWPho0 # Subtest: Util::lists_match( ack foot? ) 1..1 ok 1 - ack foot? ok 2 - Util::lists_match( ack foot? ) ok 1 - ack foot? ok 2 - optional character: YESLINES ok 2 - optional character: t/ack-w.barfly, line 53 # Subtest: -w and optional character: t/ack-w.barfly, line 73 1..2 # Subtest: -w and optional character: YES/NO 1..3 # Subtest: ack -w foot? 1..2 ok 1 - Should have no output to stderr: ack -w foot? /tmp/Z3chE0vTle # Subtest: Util::lists_match( ack -w foot? ) 1..1 ok 1 - ack -w foot? ok 2 - Util::lists_match( ack -w foot? ) ok 1 - ack -w foot? # Subtest: ack -w (foot?) 1..2 ok 1 - Should have no output to stderr: ack -w (foot?) /tmp/Z3chE0vTle # Subtest: Util::lists_match( ack -w (foot?) ) 1..1 ok 1 - ack -w (foot?) ok 2 - Util::lists_match( ack -w (foot?) ) ok 2 - ack -w (foot?) # Subtest: ack -w (?:foot?) 1..2 ok 1 - Should have no output to stderr: ack -w (?:foot?) /tmp/Z3chE0vTle # Subtest: Util::lists_match( ack -w (?:foot?) ) 1..1 ok 1 - ack -w (?:foot?) ok 2 - Util::lists_match( ack -w (?:foot?) ) ok 3 - ack -w (?:foot?) ok 1 - -w and optional character: YES/NO # Subtest: -w and optional character: YESLINES 1..3 # Subtest: ack -w foot? 1..2 ok 1 - Should have no output to stderr: ack -w foot? --underline /tmp/84gvJuyav0 # Subtest: Util::lists_match( ack -w foot? ) 1..1 ok 1 - ack -w foot? ok 2 - Util::lists_match( ack -w foot? ) ok 1 - ack -w foot? # Subtest: ack -w (foot?) 1..2 ok 1 - Should have no output to stderr: ack -w (foot?) --underline /tmp/84gvJuyav0 # Subtest: Util::lists_match( ack -w (foot?) ) 1..1 ok 1 - ack -w (foot?) ok 2 - Util::lists_match( ack -w (foot?) ) ok 2 - ack -w (foot?) # Subtest: ack -w (?:foot?) 1..2 ok 1 - Should have no output to stderr: ack -w (?:foot?) --underline /tmp/84gvJuyav0 # Subtest: Util::lists_match( ack -w (?:foot?) ) 1..1 ok 1 - ack -w (?:foot?) ok 2 - Util::lists_match( ack -w (?:foot?) ) ok 3 - ack -w (?:foot?) ok 2 - -w and optional character: YESLINES ok 3 - -w and optional character: t/ack-w.barfly, line 73 # Subtest: -w and optional group: t/ack-w.barfly, line 105 1..2 # Subtest: -w and optional group: YES/NO 1..1 # Subtest: ack -w foo(bar)? 1..2 ok 1 - Should have no output to stderr: ack -w foo(bar)? /tmp/mz0tQTF60A # Subtest: Util::lists_match( ack -w foo(bar)? ) 1..1 ok 1 - ack -w foo(bar)? ok 2 - Util::lists_match( ack -w foo(bar)? ) ok 1 - ack -w foo(bar)? ok 1 - -w and optional group: YES/NO # Subtest: -w and optional group: YESLINES 1..1 # Subtest: ack -w foo(bar)? 1..2 ok 1 - Should have no output to stderr: ack -w foo(bar)? --underline /tmp/ZAiyTtULr7 # Subtest: Util::lists_match( ack -w foo(bar)? ) 1..1 ok 1 - ack -w foo(bar)? ok 2 - Util::lists_match( ack -w foo(bar)? ) ok 1 - ack -w foo(bar)? ok 2 - -w and optional group: YESLINES ok 4 - -w and optional group: t/ack-w.barfly, line 105 # Subtest: -w and alternation: t/ack-w.barfly, line 135 1..2 # Subtest: -w and alternation: YES/NO 1..2 # Subtest: ack -w foo|bar 1..2 ok 1 - Should have no output to stderr: ack -w foo|bar /tmp/pgWoIzqBvi # Subtest: Util::lists_match( ack -w foo|bar ) 1..1 ok 1 - ack -w foo|bar ok 2 - Util::lists_match( ack -w foo|bar ) ok 1 - ack -w foo|bar # Subtest: ack -w (foo|bar) 1..2 ok 1 - Should have no output to stderr: ack -w (foo|bar) /tmp/pgWoIzqBvi # Subtest: Util::lists_match( ack -w (foo|bar) ) 1..1 ok 1 - ack -w (foo|bar) ok 2 - Util::lists_match( ack -w (foo|bar) ) ok 2 - ack -w (foo|bar) ok 1 - -w and alternation: YES/NO # Subtest: -w and alternation: YESLINES 1..2 # Subtest: ack -w foo|bar 1..2 ok 1 - Should have no output to stderr: ack -w foo|bar --underline /tmp/j4nF31qZpZ # Subtest: Util::lists_match( ack -w foo|bar ) 1..1 ok 1 - ack -w foo|bar ok 2 - Util::lists_match( ack -w foo|bar ) ok 1 - ack -w foo|bar # Subtest: ack -w (foo|bar) 1..2 ok 1 - Should have no output to stderr: ack -w (foo|bar) --underline /tmp/j4nF31qZpZ # Subtest: Util::lists_match( ack -w (foo|bar) ) 1..1 ok 1 - ack -w (foo|bar) ok 2 - Util::lists_match( ack -w (foo|bar) ) ok 2 - ack -w (foo|bar) ok 2 - -w and alternation: YESLINES ok 5 - -w and alternation: t/ack-w.barfly, line 135 # Subtest: -w and a function definition: t/ack-w.barfly, line 159 1..2 # Subtest: -w and a function definition: YES/NO 1..5 # Subtest: ack -w (set|get)_user_(name|perm) 1..2 ok 1 - Should have no output to stderr: ack -w (set|get)_user_(name|perm) /tmp/0aRWi4TmCV # Subtest: Util::lists_match( ack -w (set|get)_user_(name|perm) ) 1..1 ok 1 - ack -w (set|get)_user_(name|perm) ok 2 - Util::lists_match( ack -w (set|get)_user_(name|perm) ) ok 1 - ack -w (set|get)_user_(name|perm) # Subtest: ack -w ((set|get)_user_(name|perm)) 1..2 ok 1 - Should have no output to stderr: ack -w ((set|get)_user_(name|perm)) /tmp/0aRWi4TmCV # Subtest: Util::lists_match( ack -w ((set|get)_user_(name|perm)) ) 1..1 ok 1 - ack -w ((set|get)_user_(name|perm)) ok 2 - Util::lists_match( ack -w ((set|get)_user_(name|perm)) ) ok 2 - ack -w ((set|get)_user_(name|perm)) # Subtest: ack -w (?:(?:set|get)_user_(?:name|perm)) 1..2 ok 1 - Should have no output to stderr: ack -w (?:(?:set|get)_user_(?:name|perm)) /tmp/0aRWi4TmCV # Subtest: Util::lists_match( ack -w (?:(?:set|get)_user_(?:name|perm)) ) 1..1 ok 1 - ack -w (?:(?:set|get)_user_(?:name|perm)) ok 2 - Util::lists_match( ack -w (?:(?:set|get)_user_(?:name|perm)) ) ok 3 - ack -w (?:(?:set|get)_user_(?:name|perm)) # Subtest: ack -w (?:(set|get)_user_(name|perm)) 1..2 ok 1 - Should have no output to stderr: ack -w (?:(set|get)_user_(name|perm)) /tmp/0aRWi4TmCV # Subtest: Util::lists_match( ack -w (?:(set|get)_user_(name|perm)) ) 1..1 ok 1 - ack -w (?:(set|get)_user_(name|perm)) ok 2 - Util::lists_match( ack -w (?:(set|get)_user_(name|perm)) ) ok 4 - ack -w (?:(set|get)_user_(name|perm)) # Subtest: ack -w ((?:set|get)_user_(?:name|perm)) 1..2 ok 1 - Should have no output to stderr: ack -w ((?:set|get)_user_(?:name|perm)) /tmp/0aRWi4TmCV # Subtest: Util::lists_match( ack -w ((?:set|get)_user_(?:name|perm)) ) 1..1 ok 1 - ack -w ((?:set|get)_user_(?:name|perm)) ok 2 - Util::lists_match( ack -w ((?:set|get)_user_(?:name|perm)) ) ok 5 - ack -w ((?:set|get)_user_(?:name|perm)) ok 1 - -w and a function definition: YES/NO # Subtest: -w and a function definition: YESLINES 1..5 # Subtest: ack -w (set|get)_user_(name|perm) 1..2 ok 1 - Should have no output to stderr: ack -w (set|get)_user_(name|perm) --underline /tmp/w0P2aqwe5S # Subtest: Util::lists_match( ack -w (set|get)_user_(name|perm) ) 1..1 ok 1 - ack -w (set|get)_user_(name|perm) ok 2 - Util::lists_match( ack -w (set|get)_user_(name|perm) ) ok 1 - ack -w (set|get)_user_(name|perm) # Subtest: ack -w ((set|get)_user_(name|perm)) 1..2 ok 1 - Should have no output to stderr: ack -w ((set|get)_user_(name|perm)) --underline /tmp/w0P2aqwe5S # Subtest: Util::lists_match( ack -w ((set|get)_user_(name|perm)) ) 1..1 ok 1 - ack -w ((set|get)_user_(name|perm)) ok 2 - Util::lists_match( ack -w ((set|get)_user_(name|perm)) ) ok 2 - ack -w ((set|get)_user_(name|perm)) # Subtest: ack -w (?:(?:set|get)_user_(?:name|perm)) 1..2 ok 1 - Should have no output to stderr: ack -w (?:(?:set|get)_user_(?:name|perm)) --underline /tmp/w0P2aqwe5S # Subtest: Util::lists_match( ack -w (?:(?:set|get)_user_(?:name|perm)) ) 1..1 ok 1 - ack -w (?:(?:set|get)_user_(?:name|perm)) ok 2 - Util::lists_match( ack -w (?:(?:set|get)_user_(?:name|perm)) ) ok 3 - ack -w (?:(?:set|get)_user_(?:name|perm)) # Subtest: ack -w (?:(set|get)_user_(name|perm)) 1..2 ok 1 - Should have no output to stderr: ack -w (?:(set|get)_user_(name|perm)) --underline /tmp/w0P2aqwe5S # Subtest: Util::lists_match( ack -w (?:(set|get)_user_(name|perm)) ) 1..1 ok 1 - ack -w (?:(set|get)_user_(name|perm)) ok 2 - Util::lists_match( ack -w (?:(set|get)_user_(name|perm)) ) ok 4 - ack -w (?:(set|get)_user_(name|perm)) # Subtest: ack -w ((?:set|get)_user_(?:name|perm)) 1..2 ok 1 - Should have no output to stderr: ack -w ((?:set|get)_user_(?:name|perm)) --underline /tmp/w0P2aqwe5S # Subtest: Util::lists_match( ack -w ((?:set|get)_user_(?:name|perm)) ) 1..1 ok 1 - ack -w ((?:set|get)_user_(?:name|perm)) ok 2 - Util::lists_match( ack -w ((?:set|get)_user_(?:name|perm)) ) ok 5 - ack -w ((?:set|get)_user_(?:name|perm)) ok 2 - -w and a function definition: YESLINES ok 6 - -w and a function definition: t/ack-w.barfly, line 159 # Subtest: Single-letter words: t/ack-w.barfly, line 181 1..2 # Subtest: Single-letter words: YES/NO 1..1 # Subtest: ack -w \w 1..2 ok 1 - Should have no output to stderr: ack -w \w /tmp/ZpiFXgsSsz # Subtest: Util::lists_match( ack -w \w ) 1..1 ok 1 - ack -w \w ok 2 - Util::lists_match( ack -w \w ) ok 1 - ack -w \w ok 1 - Single-letter words: YES/NO # Subtest: Single-letter words: YESLINES 1..1 # Subtest: ack -w \w 1..2 ok 1 - Should have no output to stderr: ack -w \w --underline /tmp/sqD2EkPScg # Subtest: Util::lists_match( ack -w \w ) 1..1 ok 1 - ack -w \w ok 2 - Util::lists_match( ack -w \w ) ok 1 - ack -w \w ok 2 - Single-letter words: YESLINES ok 7 - Single-letter words: t/ack-w.barfly, line 181 # Subtest: -w with trailing metachar \w 1..1 # Subtest: Util::ack_lists_match( Looking for militia with metacharacters, Milit\w\w, -w, -h, --sort-files, t/text/bill-of-rights.txt ) 1..2 ok 1 - Should have no output to stderr: ack Milit\w\w -w -h --sort-files t/text/bill-of-rights.txt # Subtest: Util::lists_match( Looking for militia with metacharacters ) 1..1 ok 1 - Looking for militia with metacharacters ok 2 - Util::lists_match( Looking for militia with metacharacters ) ok 1 - Util::ack_lists_match( Looking for militia with metacharacters, Milit\w\w, -w, -h, --sort-files, t/text/bill-of-rights.txt ) ok 8 - -w with trailing metachar \w # Subtest: -w with trailing dot 1..1 # Subtest: Util::ack_lists_match( Looking for Milit.., Milit.., -w, -h, --sort-files, t/text/bill-of-rights.txt ) 1..2 ok 1 - Should have no output to stderr: ack Milit.. -w -h --sort-files t/text/bill-of-rights.txt # Subtest: Util::lists_match( Looking for Milit.. ) 1..1 ok 1 - Looking for Milit.. ok 2 - Util::lists_match( Looking for Milit.. ) ok 1 - Util::ack_lists_match( Looking for Milit.., Milit.., -w, -h, --sort-files, t/text/bill-of-rights.txt ) ok 9 - -w with trailing dot # Subtest: Begins and ends with word char 1..1 # Subtest: Util::ack_lists_match( Looking for Militia as whole word, Militia, -w, -h, --sort-files, t/text/bill-of-rights.txt ) 1..2 ok 1 - Should have no output to stderr: ack Militia -w -h --sort-files t/text/bill-of-rights.txt # Subtest: Util::lists_match( Looking for Militia as whole word ) 1..1 ok 1 - Looking for Militia as whole word ok 2 - Util::lists_match( Looking for Militia as whole word ) ok 1 - Util::ack_lists_match( Looking for Militia as whole word, Militia, -w, -h, --sort-files, t/text/bill-of-rights.txt ) ok 10 - Begins and ends with word char # Subtest: Ends with grouping parens 1..1 # Subtest: Util::ack_lists_match( Looking for Militia with word flag, but regexp does not end with word char, Militia(), -w, -h, --sort-files, t/text/bill-of-rights.txt ) 1..2 ok 1 - Should have no output to stderr: ack Militia() -w -h --sort-files t/text/bill-of-rights.txt # Subtest: Util::lists_match( Looking for Militia with word flag, but regexp does not end with word char ) 1..1 ok 1 - Looking for Militia with word flag, but regexp does not end with word char ok 2 - Util::lists_match( Looking for Militia with word flag, but regexp does not end with word char ) ok 1 - Util::ack_lists_match( Looking for Militia with word flag, but regexp does not end with word char, Militia(), -w, -h, --sort-files, t/text/bill-of-rights.txt ) ok 11 - Ends with grouping parens # Subtest: Begins with grouping parens 1..1 # Subtest: Util::ack_lists_match( Looking for Militia with word flag, but regexp does not begin with word char, ()Militia, -w, -h, --sort-files, t/text/bill-of-rights.txt ) 1..2 ok 1 - Should have no output to stderr: ack ()Militia -w -h --sort-files t/text/bill-of-rights.txt # Subtest: Util::lists_match( Looking for Militia with word flag, but regexp does not begin with word char ) 1..1 ok 1 - Looking for Militia with word flag, but regexp does not begin with word char ok 2 - Util::lists_match( Looking for Militia with word flag, but regexp does not begin with word char ) ok 1 - Util::ack_lists_match( Looking for Militia with word flag, but regexp does not begin with word char, ()Militia, -w, -h, --sort-files, t/text/bill-of-rights.txt ) ok 12 - Begins with grouping parens # Subtest: Wrapped in grouping parens 1..1 # Subtest: Util::ack_lists_match( Looking for Militia with word flag, but regexp does not begin or end with word char, (Militia), -w, -h, --sort-files, t/text/bill-of-rights.txt ) 1..2 ok 1 - Should have no output to stderr: ack (Militia) -w -h --sort-files t/text/bill-of-rights.txt # Subtest: Util::lists_match( Looking for Militia with word flag, but regexp does not begin or end with word char ) 1..1 ok 1 - Looking for Militia with word flag, but regexp does not begin or end with word char ok 2 - Util::lists_match( Looking for Militia with word flag, but regexp does not begin or end with word char ) ok 1 - Util::ack_lists_match( Looking for Militia with word flag, but regexp does not begin or end with word char, (Militia), -w, -h, --sort-files, t/text/bill-of-rights.txt ) ok 13 - Wrapped in grouping parens # Subtest: Alternating numbers 1..1 # Subtest: Util::ack_lists_match( Alternations should also respect boundaries when using -w, 650|660|670|680, -w, t/text/number.txt ) 1..2 ok 1 - Should have no output to stderr: ack 650|660|670|680 -w t/text/number.txt # Subtest: Util::lists_match( Alternations should also respect boundaries when using -w ) 1..1 ok 1 - Alternations should also respect boundaries when using -w ok 2 - Util::lists_match( Alternations should also respect boundaries when using -w ) ok 1 - Util::ack_lists_match( Alternations should also respect boundaries when using -w, 650|660|670|680, -w, t/text/number.txt ) ok 14 - Alternating numbers # Subtest: -w warnings 1..44 # Subtest: Good example: foo. 1..1 ok 1 - Should not trigger any warnings ok 1 - Good example: foo. # Subtest: Good example: .foo 1..1 ok 1 - Should not trigger any warnings ok 2 - Good example: .foo # Subtest: Good example: (set|get)_foo 1..1 ok 1 - Should not trigger any warnings ok 3 - Good example: (set|get)_foo # Subtest: Good example: foo_(id|name) 1..1 ok 1 - Should not trigger any warnings ok 4 - Good example: foo_(id|name) # Subtest: Good example: func() 1..1 ok 1 - Should not trigger any warnings ok 5 - Good example: func() # Subtest: Good example: (all in one group) 1..1 ok 1 - Should not trigger any warnings ok 6 - Good example: (all in one group) # Subtest: Good example: [sg]et 1..1 ok 1 - Should not trigger any warnings ok 7 - Good example: [sg]et # Subtest: Good example: foo[lt] 1..1 ok 1 - Should not trigger any warnings ok 8 - Good example: foo[lt] # Subtest: Good example: [one big character class] 1..1 ok 1 - Should not trigger any warnings ok 9 - Good example: [one big character class] # Subtest: Good example: [multiple][character][classes] 1..1 ok 1 - Should not trigger any warnings ok 10 - Good example: [multiple][character][classes] # Subtest: Good example: thpppt{1,5} 1..1 ok 1 - Should not trigger any warnings ok 11 - Good example: thpppt{1,5} # Subtest: Good example: foo+ 1..1 ok 1 - Should not trigger any warnings ok 12 - Good example: foo+ # Subtest: Good example: foo* 1..1 ok 1 - Should not trigger any warnings ok 13 - Good example: foo* # Subtest: Good example: foo? 1..1 ok 1 - Should not trigger any warnings ok 14 - Good example: foo? # Subtest: Good example: Class::Whatever 1..1 ok 1 - Should not trigger any warnings ok 15 - Good example: Class::Whatever # Subtest: Bad example: $foo 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 16 - Bad example: $foo # Subtest: Bad example: foo^ 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 17 - Bad example: foo^ # Subtest: Bad example: ^foo 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 18 - Bad example: ^foo # Subtest: Bad example: foo$ 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 19 - Bad example: foo$ # Subtest: Bad example: end with an escaped closing paren\) 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 20 - Bad example: end with an escaped closing paren\) # Subtest: Bad example: ]starting with a closing bracket 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 21 - Bad example: ]starting with a closing bracket # Subtest: Bad example: ending with an escaped closing bracket \] 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 22 - Bad example: ending with an escaped closing bracket \] # Subtest: Bad example: }starting with an closing curly brace 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 23 - Bad example: }starting with an closing curly brace # Subtest: Bad example: ending with an escaped closing curly brace\} 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 24 - Bad example: ending with an escaped closing curly brace\} # Subtest: Bad example: foo\+ 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 25 - Bad example: foo\+ # Subtest: Bad example: foo\* 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 26 - Bad example: foo\* # Subtest: Bad example: foo\? 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 27 - Bad example: foo\? # Subtest: Bad example: -foo 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 28 - Bad example: -foo # Subtest: Bad example: foo- 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 29 - Bad example: foo- # Subtest: Bad example: &mpersand 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 30 - Bad example: &mpersand # Subtest: Bad example: ampersand& 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 31 - Bad example: ampersand& # Subtest: Bad example: ->method 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 32 - Bad example: ->method # Subtest: Bad example: <header.h> 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 33 - Bad example: <header.h> # Subtest: Bad example: =14 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 34 - Bad example: =14 # Subtest: Bad example: /slashes/ 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 35 - Bad example: /slashes/ # Subtest: Bad example: ::Class::Whatever 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 36 - Bad example: ::Class::Whatever # Subtest: Bad example: Class::Whatever:: 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 - Got the correct warning ok 37 - Bad example: Class::Whatever:: # Subtest: Invalid regex: )start with closing paren 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 ok 38 - Invalid regex: )start with closing paren # Subtest: Invalid regex: end with opening paren( 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 ok 39 - Invalid regex: end with opening paren( # Subtest: Invalid regex: ending with an opening bracket[ 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 ok 40 - Invalid regex: ending with an opening bracket[ # Subtest: Invalid regex: +foo 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 ok 41 - Invalid regex: +foo # Subtest: Invalid regex: *foo 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 ok 42 - Invalid regex: *foo # Subtest: Invalid regex: ?foo 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 ok 43 - Invalid regex: ?foo # Subtest: Invalid regex: function( 1..3 ok 1 - Should have no output ok 2 - One warning ok 3 ok 44 - Invalid regex: function( ok 15 - -w warnings ok t/ack-x.t .................... 1..2 # Subtest: Basics 1..2 # Subtest: Util::sets_match( t/ack-x.t ) 1..1 # Subtest: Util::lists_match( t/ack-x.t ) 1..1 ok 1 - t/ack-x.t ok 1 - Util::lists_match( t/ack-x.t ) ok 1 - Util::sets_match( t/ack-x.t ) ok 2 ok 1 - Basics # Subtest: GH #175 1..5 ok 1 - Got three matches ok 2 - Error \#1 matches ok 3 - Error \#2 matches ok 4 - Still got three matches ok 5 - No errors ok 2 - GH \#175 ok t/anchored.t ................. 1..3 # Subtest: Util::ack_lists_match( Looking for front-anchored "congress", --sort-files, -h, -i, ^congress, t/text/constitution.txt ) 1..2 ok 1 - Should have no output to stderr: ack --sort-files -h -i ^congress t/text/constitution.txt # Subtest: Util::lists_match( Looking for front-anchored "congress" ) 1..1 ok 1 - Looking for front-anchored "congress" ok 2 - Util::lists_match( Looking for front-anchored "congress" ) ok 1 - Util::ack_lists_match( Looking for front-anchored "congress", --sort-files, -h, -i, ^congress, t/text/constitution.txt ) # Subtest: Util::ack_sets_match( Looking for back-anchored "congress", --sort-files, -h, -i, congress$, t/text/constitution.txt ) 1..2 ok 1 - Should have no output to stderr: ack --sort-files -h -i congress$ t/text/constitution.txt # Subtest: Util::sets_match( Looking for back-anchored "congress" ) 1..1 # Subtest: Util::lists_match( Looking for back-anchored "congress" ) 1..1 ok 1 - Looking for back-anchored "congress" ok 1 - Util::lists_match( Looking for back-anchored "congress" ) ok 2 - Util::sets_match( Looking for back-anchored "congress" ) ok 2 - Util::ack_sets_match( Looking for back-anchored "congress", --sort-files, -h, -i, congress$, t/text/constitution.txt ) # Subtest: Util::ack_lists_match( Looking for unanchored congress, --sort-files, -h, -i, congress, t/text/constitution.txt ) 1..2 ok 1 - Should have no output to stderr: ack --sort-files -h -i congress t/text/constitution.txt # Subtest: Util::lists_match( Looking for unanchored congress ) 1..1 ok 1 - Looking for unanchored congress ok 2 - Util::lists_match( Looking for unanchored congress ) ok 3 - Util::ack_lists_match( Looking for unanchored congress, --sort-files, -h, -i, congress, t/text/constitution.txt ) ok t/bad-ackrc-opt.t ............ 1..4 ok 1 - Nothing to stdout ok 2 - only one line to stderr ok 3 - Got the right message ok 4 - Non-zero return code ok t/basic.t .................... 1..14 ok 1 - Should have no output to stderr: ack consecrated t/text # Subtest: Util::lists_match( Looking for strict in one directory ) 1..1 ok 1 - Looking for strict in one directory ok 2 - Util::lists_match( Looking for strict in one directory ) ok 3 - Should have no output to stderr: ack strict t/swamp/options.pl # Subtest: Util::lists_match( Looking for strict in one file ) 1..1 ok 1 - Looking for strict in one file ok 4 - Util::lists_match( Looking for strict in one file ) ok 5 - Should have no output to stderr: ack strict t/text/constitution.txt t/swamp/pipe-stress-freaks.F t/swamp/options.pl # Subtest: Util::lists_match( Looking for strict in multiple files ) 1..1 ok 1 - Looking for strict in multiple files ok 6 - Util::lists_match( Looking for strict in multiple files ) ok 7 - Should have no output to stderr: ack -H strict t/swamp/options.pl # Subtest: Util::lists_match( Looking for strict in one file with -H ) 1..1 ok 1 - Looking for strict in one file with -H ok 8 - Util::lists_match( Looking for strict in one file with -H ) ok 9 - Should have no output to stderr: ack --with-filename strict t/swamp/options.pl # Subtest: Util::lists_match( Looking for strict in one file with --with-filename ) 1..1 ok 1 - Looking for strict in one file with --with-filename ok 10 - Util::lists_match( Looking for strict in one file with --with-filename ) ok 11 - Should have no output to stderr: ack -h strict t/swamp/options.pl t/swamp/crystallography-weenies.f # Subtest: Util::lists_match( Looking for strict in multiple files with -h ) 1..1 ok 1 - Looking for strict in multiple files with -h ok 12 - Util::lists_match( Looking for strict in multiple files with -h ) ok 13 - Should have no output to stderr: ack --no-filename strict t/swamp/options.pl t/swamp/crystallography-weenies.f # Subtest: Util::lists_match( Looking for strict in multiple files with --no-filename ) 1..1 ok 1 - Looking for strict in multiple files with --no-filename ok 14 - Util::lists_match( Looking for strict in multiple files with --no-filename ) ok t/command-line-files.t ....... 1..4 # Subtest: Util::ack_sets_match( One hit for specifying a dir, notaword, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack notaword t/swamp # Subtest: Util::sets_match( One hit for specifying a dir ) 1..1 # Subtest: Util::lists_match( One hit for specifying a dir ) 1..1 ok 1 - One hit for specifying a dir ok 1 - Util::lists_match( One hit for specifying a dir ) ok 2 - Util::sets_match( One hit for specifying a dir ) ok 1 - Util::ack_sets_match( One hit for specifying a dir, notaword, t/swamp ) # Subtest: Util::ack_sets_match( Two hits for specifying the file, notaword, t/swamp/options.pl, t/swamp/options.pl.bak ) 1..2 ok 1 - Should have no output to stderr: ack notaword t/swamp/options.pl t/swamp/options.pl.bak # Subtest: Util::sets_match( Two hits for specifying the file ) 1..1 # Subtest: Util::lists_match( Two hits for specifying the file ) 1..1 ok 1 - Two hits for specifying the file ok 1 - Util::lists_match( Two hits for specifying the file ) ok 2 - Util::sets_match( Two hits for specifying the file ) ok 2 - Util::ack_sets_match( Two hits for specifying the file, notaword, t/swamp/options.pl, t/swamp/options.pl.bak ) # Subtest: Util::lists_match( Error if there's no file ) 1..1 ok 1 - Error if there's no file ok 3 - Util::lists_match( Error if there's no file ) # Subtest: Util::lists_match( Find the one file that has a hit ) 1..1 ok 1 - Find the one file that has a hit ok 4 - Util::lists_match( Find the one file that has a hit ) ok t/config-backwards-compat.t .. 1..3 ok 1 - Got back exactly one line ok 2 ok 3 - No output to stderr ok t/context-with-newlines.t .... 1..4 ok 1 - Should have no output to stderr: ack use strict; # use warnings t/swamp ok 2 - An embedded newline in the search regex should never match anything ok 3 - Should have no output to stderr: ack -A 1 use strict; # use warnings t/swamp ok 4 - An embedded newline in the search regex should never match anything, even with context ok t/context.t .................. 1..19 # Subtest: Util::ack_lists_match( Looking for a - before, -w, -B1, a, t/text/ozymandias.txt ) 1..2 ok 1 - Should have no output to stderr: ack -w -B1 a t/text/ozymandias.txt # Subtest: Util::lists_match( Looking for a - before ) 1..1 ok 1 - Looking for a - before ok 2 - Util::lists_match( Looking for a - before ) ok 1 - Util::ack_lists_match( Looking for a - before, -w, -B1, a, t/text/ozymandias.txt ) # Subtest: Util::ack_lists_match( Looking for sand - before with line numbers, --sort-files, -B2, sand, t/text/ozymandias.txt, t/text/bill-of-rights.txt ) 1..2 ok 1 - Should have no output to stderr: ack --sort-files -B2 sand t/text/ozymandias.txt t/text/bill-of-rights.txt # Subtest: Util::lists_match( Looking for sand - before with line numbers ) 1..1 ok 1 - Looking for sand - before with line numbers ok 2 - Util::lists_match( Looking for sand - before with line numbers ) ok 2 - Util::ack_lists_match( Looking for sand - before with line numbers, --sort-files, -B2, sand, t/text/ozymandias.txt, t/text/bill-of-rights.txt ) # Subtest: Util::ack_lists_match( Looking for sands - after, -A2, sands, t/text/ozymandias.txt ) 1..2 ok 1 - Should have no output to stderr: ack -A2 sands t/text/ozymandias.txt # Subtest: Util::lists_match( Looking for sands - after ) 1..1 ok 1 - Looking for sands - after ok 2 - Util::lists_match( Looking for sands - after ) ok 3 - Util::ack_lists_match( Looking for sands - after, -A2, sands, t/text/ozymandias.txt ) # Subtest: Util::ack_lists_match( Looking for Montresor - context defaults to 2, -w, -C, Montresor, t/text/amontillado.txt ) 1..2 ok 1 - Should have no output to stderr: ack -w -C Montresor t/text/amontillado.txt # Subtest: Util::lists_match( Looking for Montresor - context defaults to 2 ) 1..1 ok 1 - Looking for Montresor - context defaults to 2 ok 2 - Util::lists_match( Looking for Montresor - context defaults to 2 ) ok 4 - Util::ack_lists_match( Looking for Montresor - context defaults to 2, -w, -C, Montresor, t/text/amontillado.txt ) # Subtest: Util::ack_lists_match( Looking for Montresor - context=1, -w, -C, 1, Montresor, t/text/amontillado.txt ) 1..2 ok 1 - Should have no output to stderr: ack -w -C 1 Montresor t/text/amontillado.txt # Subtest: Util::lists_match( Looking for Montresor - context=1 ) 1..1 ok 1 - Looking for Montresor - context=1 ok 2 - Util::lists_match( Looking for Montresor - context=1 ) ok 5 - Util::ack_lists_match( Looking for Montresor - context=1, -w, -C, 1, Montresor, t/text/amontillado.txt ) # Subtest: Util::ack_lists_match( Looking for Montresor - context=0, -w, -C, 0, Montresor, t/text/amontillado.txt ) 1..2 ok 1 - Should have no output to stderr: ack -w -C 0 Montresor t/text/amontillado.txt # Subtest: Util::lists_match( Looking for Montresor - context=0 ) 1..1 ok 1 - Looking for Montresor - context=0 ok 2 - Util::lists_match( Looking for Montresor - context=0 ) ok 6 - Util::ack_lists_match( Looking for Montresor - context=0, -w, -C, 0, Montresor, t/text/amontillado.txt ) # Subtest: Util::ack_lists_match( Looking for right with -1, -1, -C1, right, t/text/bill-of-rights.txt ) 1..2 ok 1 - Should have no output to stderr: ack -1 -C1 right t/text/bill-of-rights.txt # Subtest: Util::lists_match( Looking for right with -1 ) 1..1 ok 1 - Looking for right with -1 ok 2 - Util::lists_match( Looking for right with -1 ) ok 7 - Util::ack_lists_match( Looking for right with -1, -1, -C1, right, t/text/bill-of-rights.txt ) # Subtest: Util::ack_lists_match( Looking for 05|06 with overlapping contexts, -C, 05|06, t/text/numbered-text.txt ) 1..2 ok 1 - Should have no output to stderr: ack -C 05|06 t/text/numbered-text.txt # Subtest: Util::lists_match( Looking for 05|06 with overlapping contexts ) 1..1 ok 1 - Looking for 05|06 with overlapping contexts ok 2 - Util::lists_match( Looking for 05|06 with overlapping contexts ) ok 8 - Util::ack_lists_match( Looking for 05|06 with overlapping contexts, -C, 05|06, t/text/numbered-text.txt ) # Subtest: Util::ack_lists_match( Looking for 03|08 with contexts that touch, -C, 03|08, t/text/numbered-text.txt ) 1..2 ok 1 - Should have no output to stderr: ack -C 03|08 t/text/numbered-text.txt # Subtest: Util::lists_match( Looking for 03|08 with contexts that touch ) 1..1 ok 1 - Looking for 03|08 with contexts that touch ok 2 - Util::lists_match( Looking for 03|08 with contexts that touch ) ok 9 - Util::ack_lists_match( Looking for 03|08 with contexts that touch, -C, 03|08, t/text/numbered-text.txt ) # Subtest: Util::ack_lists_match( Looking for 03|09 with contexts that just don't touch, -C, 03|09, t/text/numbered-text.txt ) 1..2 ok 1 - Should have no output to stderr: ack -C 03|09 t/text/numbered-text.txt # Subtest: Util::lists_match( Looking for 03|09 with contexts that just don't touch ) 1..1 ok 1 - Looking for 03|09 with contexts that just don't touch ok 2 - Util::lists_match( Looking for 03|09 with contexts that just don't touch ) ok 10 - Util::ack_lists_match( Looking for 03|09 with contexts that just don't touch, -C, 03|09, t/text/numbered-text.txt ) # Subtest: Util::ack_lists_match( Looking for 05|06 with overlapping contexts, --color, -C, 05|06, t/text/numbered-text.txt ) 1..2 ok 1 - Should have no output to stderr: ack --color -C 05|06 t/text/numbered-text.txt # Subtest: Util::lists_match( Looking for 05|06 with overlapping contexts ) 1..1 ok 1 - Looking for 05|06 with overlapping contexts ok 2 - Util::lists_match( Looking for 05|06 with overlapping contexts ) ok 11 - Util::ack_lists_match( Looking for 05|06 with overlapping contexts, --color, -C, 05|06, t/text/numbered-text.txt ) # Subtest: Util::ack_lists_match( Looking for 05|06 with overlapping contexts, --color, -B2, 05|06, t/text/numbered-text.txt ) 1..2 ok 1 - Should have no output to stderr: ack --color -B2 05|06 t/text/numbered-text.txt # Subtest: Util::lists_match( Looking for 05|06 with overlapping contexts ) 1..1 ok 1 - Looking for 05|06 with overlapping contexts ok 2 - Util::lists_match( Looking for 05|06 with overlapping contexts ) ok 12 - Util::ack_lists_match( Looking for 05|06 with overlapping contexts, --color, -B2, 05|06, t/text/numbered-text.txt ) # Subtest: Util::ack_lists_match( Looking for 05|06 with overlapping contexts, --color, -A2, 05|06, t/text/numbered-text.txt ) 1..2 ok 1 - Should have no output to stderr: ack --color -A2 05|06 t/text/numbered-text.txt # Subtest: Util::lists_match( Looking for 05|06 with overlapping contexts ) 1..1 ok 1 - Looking for 05|06 with overlapping contexts ok 2 - Util::lists_match( Looking for 05|06 with overlapping contexts ) ok 13 - Util::ack_lists_match( Looking for 05|06 with overlapping contexts, --color, -A2, 05|06, t/text/numbered-text.txt ) # Subtest: Util::ack_lists_match( Looking for ratif with -m3, -i, -m3, -A1, ratif, t/text/constitution.txt ) 1..2 ok 1 - Should have no output to stderr: ack -i -m3 -A1 ratif t/text/constitution.txt # Subtest: Util::lists_match( Looking for ratif with -m3 ) 1..1 ok 1 - Looking for ratif with -m3 ok 2 - Util::lists_match( Looking for ratif with -m3 ) ok 14 - Util::ack_lists_match( Looking for ratif with -m3, -i, -m3, -A1, ratif, t/text/constitution.txt ) ok 15 - Only one line highlighted ok 16 - Expecting altogether 11 lines back # Subtest: Util::ack_lists_match( Looking for python in Python files with grouping, -t, python, --group, -C, python ) 1..2 ok 1 - Should have no output to stderr: ack -t python --group -C python # Subtest: Util::lists_match( Looking for python in Python files with grouping ) 1..1 ok 1 - Looking for python in Python files with grouping ok 2 - Util::lists_match( Looking for python in Python files with grouping ) ok 17 - Util::ack_lists_match( Looking for python in Python files with grouping, -t, python, --group, -C, python ) # Subtest: Util::ack_lists_match( Looking for spoken in multiple files with grouping, --group, -B1, --sort-files, spoken, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack --group -B1 --sort-files spoken t/text/ # Subtest: Util::lists_match( Looking for spoken in multiple files with grouping ) 1..1 ok 1 - Looking for spoken in multiple files with grouping ok 2 - Util::lists_match( Looking for spoken in multiple files with grouping ) ok 18 - Util::ack_lists_match( Looking for spoken in multiple files with grouping, --group, -B1, --sort-files, spoken, t/text/ ) # Subtest: Util::ack_lists_match( Looking for freedom, --column, -C5, -H, --sort-files, freedom, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack --column -C5 -H --sort-files freedom t/text/ # Subtest: Util::lists_match( Looking for freedom ) 1..1 ok 1 - Looking for freedom ok 2 - Util::lists_match( Looking for freedom ) ok 19 - Util::ack_lists_match( Looking for freedom, --column, -C5, -H, --sort-files, freedom, t/text/ ) ok t/double-hyphen.t ............ 1..1 # Subtest: Double-hyphen allows hyphens after 1..1 # Subtest: Util::ack_lists_match( Looking for militia with metacharacters, -i, --sort, --, -E, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack -i --sort -- -E t/text/ # Subtest: Util::lists_match( Looking for militia with metacharacters ) 1..1 ok 1 - Looking for militia with metacharacters ok 2 - Util::lists_match( Looking for militia with metacharacters ) ok 1 - Util::ack_lists_match( Looking for militia with metacharacters, -i, --sort, --, -E, t/text/ ) ok 1 - Double-hyphen allows hyphens after ok t/empty-lines.t .............. 1..2 ok 1 - Should have no output to stderr: ack ^\s\s+$ /tmp/7V2CROpwqT ok 2 - ^\s\s+$ should never match a sequence of empty lines ok t/exit-code.t ................ 1..4 ok 1 - Should have no output to stderr: ack legislative t/text/constitution.txt ok 2 - Exit code with matches should be 0 ok 3 - Should have no output to stderr: ack foo t/text/constitution.txt ok 4 - Exit code with no matches should be 1 ok t/file-permission.t .......... 1..5 # Subtest: main::check_with( regex 1, /tmp/rIkehuWcQm/foo ) 1..4 ok 1 - Exit code 1 for no output for grep compatibility ok 2 - No normal output ok 3 - One line of stderr output ok 4 - Warning message OK ok 1 - main::check_with( regex 1, /tmp/rIkehuWcQm/foo ) # Subtest: main::check_with( regex 2, --count, /tmp/rIkehuWcQm/foo, expected_stdout=>1 ) 1..4 ok 1 - Exit code 1 for no output for grep compatibility ok 2 - No normal output ok 3 - One line of stderr output ok 4 - Warning message OK ok 2 - main::check_with( regex 2, --count, /tmp/rIkehuWcQm/foo, expected_stdout=>1 ) # Subtest: main::check_with( notinthere, /tmp/rIkehuWcQm/ ) 1..4 ok 1 - Exit code 1 for no output for grep compatibility ok 2 - No normal output ok 3 - One line of stderr output ok 4 - Warning message OK ok 3 - main::check_with( notinthere, /tmp/rIkehuWcQm/ ) ok 4 - Succeeded chmodding /tmp/rIkehuWcQm/foo to 100644 ok 5 - /tmp/rIkehuWcQm/foo's are back to what we expect ok t/filetype-detection.t ....... 1..3 # Subtest: Lua shebang 1..1 # Subtest: Util::ack_sets_match( Lua files should be detected by shebang, -t, lua, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -t lua -f t/swamp # Subtest: Util::sets_match( Lua files should be detected by shebang ) 1..1 # Subtest: Util::lists_match( Lua files should be detected by shebang ) 1..1 ok 1 - Lua files should be detected by shebang ok 1 - Util::lists_match( Lua files should be detected by shebang ) ok 2 - Util::sets_match( Lua files should be detected by shebang ) ok 1 - Util::ack_sets_match( Lua files should be detected by shebang, -t, lua, -f, t/swamp ) ok 1 - Lua shebang # Subtest: R extensions 1..2 ok 1 - Should have no output to stderr: ack -t rr -f # Subtest: Util::sets_match( t/filetype-detection.t ) 1..1 # Subtest: Util::lists_match( t/filetype-detection.t ) 1..1 ok 1 - t/filetype-detection.t ok 1 - Util::lists_match( t/filetype-detection.t ) ok 2 - Util::sets_match( t/filetype-detection.t ) ok 2 - R extensions # Subtest: ASP.NET ok 1 - Should have no output to stderr: ack -t aspx -f # Subtest: Util::sets_match( t/filetype-detection.t ) 1..1 # Subtest: Util::lists_match( t/filetype-detection.t ) 1..1 ok 1 - t/filetype-detection.t ok 1 - Util::lists_match( t/filetype-detection.t ) ok 2 - Util::sets_match( t/filetype-detection.t ) 1..2 ok 3 - ASP.NET ok t/filetypes.t ................ 1..19 # Subtest: Util::sets_match( foo.pod can be multiple things ) 1..1 # Subtest: Util::lists_match( foo.pod can be multiple things ) 1..1 ok 1 - foo.pod can be multiple things ok 1 - Util::lists_match( foo.pod can be multiple things ) ok 1 - Util::sets_match( foo.pod can be multiple things ) # Subtest: Util::sets_match( t/swamp/perl.pm ) 1..1 # Subtest: Util::lists_match( t/swamp/perl.pm ) 1..1 ok 1 - t/swamp/perl.pm ok 1 - Util::lists_match( t/swamp/perl.pm ) ok 2 - Util::sets_match( t/swamp/perl.pm ) # Subtest: Util::sets_match( t/swamp/Makefile.PL ) 1..1 # Subtest: Util::lists_match( t/swamp/Makefile.PL ) 1..1 ok 1 - t/swamp/Makefile.PL ok 1 - Util::lists_match( t/swamp/Makefile.PL ) ok 3 - Util::sets_match( t/swamp/Makefile.PL ) # Subtest: Util::sets_match( Unknown ) 1..1 # Subtest: Util::lists_match( Unknown ) 1..1 ok 1 - Unknown ok 1 - Util::lists_match( Unknown ) ok 4 - Util::sets_match( Unknown ) ok 5 - foo.pod can be perl ok 6 - foo.pod can be pod ok 7 - foo.pod cannot be ruby ok 8 - perl.handler.pod can be perl ok 9 - Makefile is a makefile ok 10 - Rakefile is a rakefile ok 11 - correctly skip files starting and ending with hash mark # Subtest: Util::sets_match( Checking t/etc/buttonhook.xml.xxx ) 1..1 # Subtest: Util::lists_match( Checking t/etc/buttonhook.xml.xxx ) 1..1 ok 1 - Checking t/etc/buttonhook.xml.xxx ok 1 - Util::lists_match( Checking t/etc/buttonhook.xml.xxx ) ok 12 - Util::sets_match( Checking t/etc/buttonhook.xml.xxx ) # Subtest: Util::sets_match( Checking t/etc/shebang.php.xxx ) 1..1 # Subtest: Util::lists_match( Checking t/etc/shebang.php.xxx ) 1..1 ok 1 - Checking t/etc/shebang.php.xxx ok 1 - Util::lists_match( Checking t/etc/shebang.php.xxx ) ok 13 - Util::sets_match( Checking t/etc/shebang.php.xxx ) # Subtest: Util::sets_match( Checking t/etc/shebang.pl.xxx ) 1..1 # Subtest: Util::lists_match( Checking t/etc/shebang.pl.xxx ) 1..1 ok 1 - Checking t/etc/shebang.pl.xxx ok 1 - Util::lists_match( Checking t/etc/shebang.pl.xxx ) ok 14 - Util::sets_match( Checking t/etc/shebang.pl.xxx ) # Subtest: Util::sets_match( Checking t/etc/shebang.py.xxx ) 1..1 # Subtest: Util::lists_match( Checking t/etc/shebang.py.xxx ) 1..1 ok 1 - Checking t/etc/shebang.py.xxx ok 1 - Util::lists_match( Checking t/etc/shebang.py.xxx ) ok 15 - Util::sets_match( Checking t/etc/shebang.py.xxx ) # Subtest: Util::sets_match( Checking t/etc/shebang.rb.xxx ) 1..1 # Subtest: Util::lists_match( Checking t/etc/shebang.rb.xxx ) 1..1 ok 1 - Checking t/etc/shebang.rb.xxx ok 1 - Util::lists_match( Checking t/etc/shebang.rb.xxx ) ok 16 - Util::sets_match( Checking t/etc/shebang.rb.xxx ) # Subtest: Util::sets_match( Checking t/etc/shebang.sh.xxx ) 1..1 # Subtest: Util::lists_match( Checking t/etc/shebang.sh.xxx ) 1..1 ok 1 - Checking t/etc/shebang.sh.xxx ok 1 - Util::lists_match( Checking t/etc/shebang.sh.xxx ) ok 17 - Util::sets_match( Checking t/etc/shebang.sh.xxx ) # Subtest: Util::sets_match( Checking t/swamp/Makefile ) 1..1 # Subtest: Util::lists_match( Checking t/swamp/Makefile ) 1..1 ok 1 - Checking t/swamp/Makefile ok 1 - Util::lists_match( Checking t/swamp/Makefile ) ok 18 - Util::sets_match( Checking t/swamp/Makefile ) # Subtest: Util::sets_match( Checking t/swamp/Makefile.PL ) 1..1 # Subtest: Util::lists_match( Checking t/swamp/Makefile.PL ) 1..1 ok 1 - Checking t/swamp/Makefile.PL ok 1 - Util::lists_match( Checking t/swamp/Makefile.PL ) ok 19 - Util::sets_match( Checking t/swamp/Makefile.PL ) ok t/forbidden-options.t ........ 1..2 # Subtest: main::_test_project_ackrc 1..3 # Subtest: match 1..2 ok 1 - No output with the errors ok 2 - match illegal ok 1 - match # Subtest: output 1..2 ok 1 - No output with the errors ok 2 - output illegal ok 2 - output # Subtest: pager 1..2 ok 1 - No output with the errors ok 2 - pager illegal ok 3 - pager ok 1 - main::_test_project_ackrc # Subtest: main::_test_home_ackrc 1..3 # Subtest: match 1..2 ok 1 - No output with the errors ok 2 - match illegal ok 1 - match # Subtest: output 1..2 ok 1 - No output with the errors ok 2 - output illegal ok 2 - output # Subtest: pager 1..2 ok 1 - Found foo.pl OK ok 2 - --pager is OK ok 3 - pager ok 2 - main::_test_home_ackrc ok t/from-stdin.t ............... 1..3 ok 1 - Piping a file ok 2 - Piping a file with -i ok 3 - Piping into ack --count should return one line of results ok t/highlighting.t ............. 1..6 ok 1 - Should have no output to stderr: ack --sort-files Montresor t/text/ --color --group --sort-files ok 2 - Basic highlights match ok 3 - Should have no output to stderr: ack --sort-files \w*rave\w* t/text/ --color --group --sort-files ok 4 - Metacharacters match ok 5 - Should have no output to stderr: ack --sort-files free -C1 t/text/ --color --group --sort-files ok 6 - Context is all good ok t/illegal-regex.t ............ 1..2 # Subtest: Check fatal 1..2 ok 1 - No output # Subtest: Util::lists_match( Error body ) 1..1 ok 1 - Error body ok 2 - Util::lists_match( Error body ) ok 1 - Check fatal # Subtest: Check warning 1..5 ok 1 - No output ok 2 - Line 1 OK ok 3 - Line 2 OK ok 4 - The message changes between Perl versions ok 5 - Only 3 lines ok 2 - Check warning ok t/incomplete-last-line.t ..... 1..4 ok 1 - First line ends with a newline ok 2 - Second line ends with a newline ok 3 - Third line ends with a bang, not a newline # Subtest: Util::ack_lists_match( Incomplete line gets a newline appended., -h, --nogroup, last, t/swamp/incomplete-last-line.txt, t/text/gettysburg.txt ) 1..2 ok 1 - Should have no output to stderr: ack -h --nogroup last t/swamp/incomplete-last-line.txt t/text/gettysburg.txt # Subtest: Util::lists_match( Incomplete line gets a newline appended. ) 1..1 ok 1 - Incomplete line gets a newline appended. ok 2 - Util::lists_match( Incomplete line gets a newline appended. ) ok 4 - Util::ack_lists_match( Incomplete line gets a newline appended., -h, --nogroup, last, t/swamp/incomplete-last-line.txt, t/text/gettysburg.txt ) ok t/interactive.t .............. 1..6 ok 1 ok 2 ok 3 # Subtest: Util::lists_match( INTERACTIVE_GROUPING_COLOR ) 1..1 ok 1 - INTERACTIVE_GROUPING_COLOR ok 4 - Util::lists_match( INTERACTIVE_GROUPING_COLOR ) ok 5 ok 6 ok t/invalid-ackrc.t ............ 1..3 # Subtest: Check --env and weird options 1..10 ok 1 - Should have no output to stderr: ack --env --help ok 2 ok 3 - Should have no output to stderr: ack --env --thpppt ok 4 ok 5 - Should have no output to stderr: ack --env --bar ok 6 ok 7 - Should have no output to stderr: ack --env --cathy ok 8 ok 9 - Should have no output to stderr: ack --env --version ok 10 ok 1 - Check --env and weird options # Subtest: Check for all the types 1..12 ok 1 - Found at least one usage line ok 2 - Found the illegal option in the ackrc ok 3 - Got at least one for --ruby ok 4 ok 5 ok 6 - Got at least one for --perl ok 7 ok 8 ok 9 ok 10 ok 11 - Got at least one for --python ok 12 ok 2 - Check for all the types # Subtest: Check --env --man 1..2 ok 1 - Should have no output to stderr: ack --env --man ok 2 ok 3 - Check --env --man ok t/invalid-options.t .......... 1..5 ok 1 - No output because of our bad option ok 2 - First line is the error, and should only appear once ok 3 - Second line is the general error ok 4 - There are no more lines ok 5 - Should fail ok t/inverted-file-filter.t ..... 1..4 # Subtest: Util::ack_sets_match( Exclude only, -T, perl, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -T perl -f t/swamp # Subtest: Util::sets_match( Exclude only ) 1..1 # Subtest: Util::lists_match( Exclude only ) 1..1 ok 1 - Exclude only ok 1 - Util::lists_match( Exclude only ) ok 2 - Util::sets_match( Exclude only ) ok 1 - Util::ack_sets_match( Exclude only, -T, perl, -f, t/swamp ) # Subtest: Util::ack_sets_match( Exclude only, -t, noperl, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -t noperl -f t/swamp # Subtest: Util::sets_match( Exclude only ) 1..1 # Subtest: Util::lists_match( Exclude only ) 1..1 ok 1 - Exclude only ok 1 - Util::lists_match( Exclude only ) ok 2 - Util::sets_match( Exclude only ) ok 2 - Util::ack_sets_match( Exclude only, -t, noperl, -f, t/swamp ) # Subtest: Util::ack_sets_match( Exclude only, -t, noperl, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -t noperl -f t/swamp # Subtest: Util::sets_match( Exclude only ) 1..1 # Subtest: Util::lists_match( Exclude only ) 1..1 ok 1 - Exclude only ok 1 - Util::lists_match( Exclude only ) ok 2 - Util::sets_match( Exclude only ) ok 3 - Util::ack_sets_match( Exclude only, -t, noperl, -f, t/swamp ) # Subtest: Util::ack_sets_match( Include plus exclude only, --type-add=pod:ext:pod, -t, perl, -T, pod, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack --type-add=pod:ext:pod -t perl -T pod -f t/swamp # Subtest: Util::sets_match( Include plus exclude only ) 1..1 # Subtest: Util::lists_match( Include plus exclude only ) 1..1 ok 1 - Include plus exclude only ok 1 - Util::lists_match( Include plus exclude only ) ok 2 - Util::sets_match( Include plus exclude only ) ok 4 - Util::ack_sets_match( Include plus exclude only, --type-add=pod:ext:pod, -t, perl, -T, pod, -f, t/swamp ) ok t/line-endings.t ............. 1..4 # Subtest: Match normally 1..2 ok 1 - Should have no output to stderr: ack $ words-and-spaces.txt space-newline-space.txt space-newline.txt tabby.txt space-newline-newline.txt space-newline-and-more.txt also-tabby.txt # Subtest: Util::sets_match( Found all the matching files in results ) 1..1 # Subtest: Util::lists_match( Found all the matching files in results ) 1..1 ok 1 - Found all the matching files in results ok 1 - Util::lists_match( Found all the matching files in results ) ok 2 - Util::sets_match( Found all the matching files in results ) ok 1 - Match normally # Subtest: Match with -l 1..2 ok 1 - Should have no output to stderr: ack -l $ words-and-spaces.txt space-newline-space.txt space-newline.txt tabby.txt space-newline-newline.txt space-newline-and-more.txt also-tabby.txt # Subtest: Util::sets_match( Matching files should be in -l output ) 1..1 # Subtest: Util::lists_match( Matching files should be in -l output ) 1..1 ok 1 - Matching files should be in -l output ok 1 - Util::lists_match( Matching files should be in -l output ) ok 2 - Util::sets_match( Matching files should be in -l output ) ok 2 - Match with -l # Subtest: Non-match with -L 1..2 ok 1 - Should have no output to stderr: ack -L $ words-and-spaces.txt space-newline-space.txt space-newline.txt tabby.txt space-newline-newline.txt space-newline-and-more.txt also-tabby.txt # Subtest: Util::sets_match( Nonmatching files should be in -L output ) 1..1 # Subtest: Util::lists_match( Nonmatching files should be in -L output ) 1..1 ok 1 - Nonmatching files should be in -L output ok 1 - Util::lists_match( Nonmatching files should be in -L output ) ok 2 - Util::sets_match( Nonmatching files should be in -L output ) ok 3 - Non-match with -L # Subtest: Count with -c 1..2 ok 1 - Should have no output to stderr: ack -c $ words-and-spaces.txt space-newline-space.txt space-newline.txt tabby.txt space-newline-newline.txt space-newline-and-more.txt also-tabby.txt # Subtest: Util::sets_match( Matching files should be in -c output with correct counts ) 1..1 # Subtest: Util::lists_match( Matching files should be in -c output with correct counts ) 1..1 ok 1 - Matching files should be in -c output with correct counts ok 1 - Util::lists_match( Matching files should be in -c output with correct counts ) ok 2 - Util::sets_match( Matching files should be in -c output with correct counts ) ok 4 - Count with -c ok t/longopts.t ................. 1..52 ok 1 - Should have no output to stderr: ack --help ok 2 - Found "File select actions:" section ok 3 - Found "File listing actions:" section ok 4 - Found "Searching:" section ok 5 - Found "Search output:" section ok 6 - Found "File presentation:" section ok 7 - Found "File finding:" section ok 8 - Found "File inclusion/exclusion:" section ok 9 - Found "File type inclusion/exclusion:" section ok 10 - Found "File type specification:" section ok 11 - Found "Miscellaneous:" section ok 12 - Found "Filter specifications:" section ok 13 - Should have no output to stderr: ack --version ok 14 - --version output is correct ok 15 - Should have no output to stderr: ack -i upper case t/swamp/options.pl ok 16 - -i works correctly for ascii ok 17 - Should have no output to stderr: ack --ignore-case upper case t/swamp/options.pl ok 18 - --ignore-case works correctly for ascii ok 19 - Should have no output to stderr: ack -S upper case t/swamp/options.pl ok 20 - -S turn on ignore-case when PATTERN has no upper ok 21 - Should have no output to stderr: ack -S Upper case t/swamp/options.pl ok 22 - -S does nothing when PATTERN has upper ok 23 - Should have no output to stderr: ack -S -i UpPer CaSe t/swamp/options.pl ok 24 - -i overrides -S, forcing ignore case, even when PATTERN has upper ok 25 - Should have no output to stderr: ack --smart-case upper case t/swamp/options.pl ok 26 - --smart-case turn on ignore-case when PATTERN has no upper ok 27 - Should have no output to stderr: ack --smart-case Upper case t/swamp/options.pl ok 28 - --smart-case does nothing when PATTERN has upper ok 29 - Should have no output to stderr: ack --smart-case -i UpPer CaSe t/swamp/options.pl ok 30 - -i overrides --smart-case, forcing ignore case, even when PATTERN has upper ok 31 - Should have no output to stderr: ack -v use warnings t/swamp/options.pl ok 32 - -v works correctly ok 33 - Should have no output to stderr: ack --invert-match use warnings t/swamp/options.pl ok 34 - --invert-match works correctly ok 35 - Should have no output to stderr: ack -w word t/swamp/options.pl ok 36 - -w ignores non-words ok 37 - -w ignores non-words ok 38 - Should have no output to stderr: ack --word-regexp word t/swamp/options.pl ok 39 - --word-regexp ignores non-words ok 40 - --word-regexp ignores non-words ok 41 - Should have no output to stderr: ack -Q [abc] t/swamp/options.pl ok 42 - -Q matches a literal string ok 43 - Should have no output to stderr: ack --literal [abc] t/swamp/options.pl ok 44 - --literal matches a literal string ok 45 - Should have no output to stderr: ack -l use strict t/swamp/options.pl ok 46 - -l prints matching files ok 47 - Should have no output to stderr: ack --files-with-matches use strict t/swamp/options.pl ok 48 - --files-with-matches prints matching files ok 49 - Should have no output to stderr: ack -L use snorgledork t/swamp/options.pl ok 50 - -L prints matching files ok 51 - Should have no output to stderr: ack --files-without-matches use snorgledork t/swamp/options.pl ok 52 - --files-without-matches prints matching files ok t/multiple-captures.t ........ 1..2 ok 1 ok 2 ok t/mutex-options.t ............ 1..196 # Subtest: main::are_mutually_exclusive( -f, -p, [-f, -p] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '-p' can't be used together" ok 1 - main::are_mutually_exclusive( -f, -p, [-f, -p] ) # Subtest: main::are_mutually_exclusive( -f, -p, [-p, -f] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '-p' can't be used together" ok 2 - main::are_mutually_exclusive( -f, -p, [-p, -f] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --proximate] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 3 - main::are_mutually_exclusive( -f, --proximate, [-f, --proximate] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [--proximate, -f] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 4 - main::are_mutually_exclusive( -f, --proximate, [--proximate, -f] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --pro, 4] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 5 - main::are_mutually_exclusive( -f, --proximate, [-f, --pro, 4] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --pro=4] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 6 - main::are_mutually_exclusive( -f, --proximate, [-f, --pro=4] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --prox, 4] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 7 - main::are_mutually_exclusive( -f, --proximate, [-f, --prox, 4] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --prox=4] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 8 - main::are_mutually_exclusive( -f, --proximate, [-f, --prox=4] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --proxima, 4] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 9 - main::are_mutually_exclusive( -f, --proximate, [-f, --proxima, 4] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --proxima=4] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 10 - main::are_mutually_exclusive( -f, --proximate, [-f, --proxima=4] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --proximat, 4] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 11 - main::are_mutually_exclusive( -f, --proximate, [-f, --proximat, 4] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --proximat=4] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 12 - main::are_mutually_exclusive( -f, --proximate, [-f, --proximat=4] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --proximate, 4] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 13 - main::are_mutually_exclusive( -f, --proximate, [-f, --proximate, 4] ) # Subtest: main::are_mutually_exclusive( -f, --proximate, [-f, --proximate=4] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--proximate' can't be used together" ok 14 - main::are_mutually_exclusive( -f, --proximate, [-f, --proximate=4] ) # Subtest: main::are_mutually_exclusive( -l, -L, [-l, -L, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '-L' can't be used together" ok 15 - main::are_mutually_exclusive( -l, -L, [-l, -L, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, -o, [-l, -o, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '-o' can't be used together" ok 16 - main::are_mutually_exclusive( -l, -o, [-l, -o, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --passthru, [-l, --passthru, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--passthru' can't be used together" ok 17 - main::are_mutually_exclusive( -l, --passthru, [-l, --passthru, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --output, [-l, --output, $&, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--output' can't be used together" ok 18 - main::are_mutually_exclusive( -l, --output, [-l, --output, $&, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --output, [-l, --output=$&, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--output' can't be used together" ok 19 - main::are_mutually_exclusive( -l, --output, [-l, --output=$&, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, -h, [-l, -h, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '-h' can't be used together" ok 20 - main::are_mutually_exclusive( -l, -h, [-l, -h, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --with-filename, [-l, --with-filename, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--with-filename' can't be used together" ok 21 - main::are_mutually_exclusive( -l, --with-filename, [-l, --with-filename, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --no-filename, [-l, --no-filename, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--no-filename' can't be used together" ok 22 - main::are_mutually_exclusive( -l, --no-filename, [-l, --no-filename, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --column, [-l, --column, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--column' can't be used together" ok 23 - main::are_mutually_exclusive( -l, --column, [-l, --column, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, -A, [-l, -A, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '-A' can't be used together" ok 24 - main::are_mutually_exclusive( -l, -A, [-l, -A, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --after-context, [-l, --after-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--after-context' can't be used together" ok 25 - main::are_mutually_exclusive( -l, --after-context, [-l, --after-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --after-context, [-l, --after-context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--after-context' can't be used together" ok 26 - main::are_mutually_exclusive( -l, --after-context, [-l, --after-context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, -B, [-l, -B, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '-B' can't be used together" ok 27 - main::are_mutually_exclusive( -l, -B, [-l, -B, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --before-context, [-l, --before-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--before-context' can't be used together" ok 28 - main::are_mutually_exclusive( -l, --before-context, [-l, --before-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --before-context, [-l, --before-context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--before-context' can't be used together" ok 29 - main::are_mutually_exclusive( -l, --before-context, [-l, --before-context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, -C, [-l, -C, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '-C' can't be used together" ok 30 - main::are_mutually_exclusive( -l, -C, [-l, -C, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --context, [-l, --context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--context' can't be used together" ok 31 - main::are_mutually_exclusive( -l, --context, [-l, --context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --context, [-l, --context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--context' can't be used together" ok 32 - main::are_mutually_exclusive( -l, --context, [-l, --context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --heading, [-l, --heading, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--heading' can't be used together" ok 33 - main::are_mutually_exclusive( -l, --heading, [-l, --heading, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --break, [-l, --break, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--break' can't be used together" ok 34 - main::are_mutually_exclusive( -l, --break, [-l, --break, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --group, [-l, --group, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--group' can't be used together" ok 35 - main::are_mutually_exclusive( -l, --group, [-l, --group, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, -f, [-l, -f, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '-f' can't be used together" ok 36 - main::are_mutually_exclusive( -l, -f, [-l, -f, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, -g, [-l, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '-g' can't be used together" ok 37 - main::are_mutually_exclusive( -l, -g, [-l, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -l, --show-types, [-l, --show-types, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-l' and '--show-types' can't be used together" ok 38 - main::are_mutually_exclusive( -l, --show-types, [-l, --show-types, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, -o, [-L, -o, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '-o' can't be used together" ok 39 - main::are_mutually_exclusive( -L, -o, [-L, -o, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --passthru, [-L, --passthru, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--passthru' can't be used together" ok 40 - main::are_mutually_exclusive( -L, --passthru, [-L, --passthru, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --output, [-L, --output, $&, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--output' can't be used together" ok 41 - main::are_mutually_exclusive( -L, --output, [-L, --output, $&, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --output, [-L, --output=$&, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--output' can't be used together" ok 42 - main::are_mutually_exclusive( -L, --output, [-L, --output=$&, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, -h, [-L, -h, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '-h' can't be used together" ok 43 - main::are_mutually_exclusive( -L, -h, [-L, -h, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --with-filename, [-L, --with-filename, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--with-filename' can't be used together" ok 44 - main::are_mutually_exclusive( -L, --with-filename, [-L, --with-filename, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --no-filename, [-L, --no-filename, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--no-filename' can't be used together" ok 45 - main::are_mutually_exclusive( -L, --no-filename, [-L, --no-filename, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --column, [-L, --column, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--column' can't be used together" ok 46 - main::are_mutually_exclusive( -L, --column, [-L, --column, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, -A, [-L, -A, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '-A' can't be used together" ok 47 - main::are_mutually_exclusive( -L, -A, [-L, -A, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --after-context, [-L, --after-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--after-context' can't be used together" ok 48 - main::are_mutually_exclusive( -L, --after-context, [-L, --after-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --after-context, [-L, --after-context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--after-context' can't be used together" ok 49 - main::are_mutually_exclusive( -L, --after-context, [-L, --after-context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, -B, [-L, -B, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '-B' can't be used together" ok 50 - main::are_mutually_exclusive( -L, -B, [-L, -B, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --before-context, [-L, --before-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--before-context' can't be used together" ok 51 - main::are_mutually_exclusive( -L, --before-context, [-L, --before-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --before-context, [-L, --before-context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--before-context' can't be used together" ok 52 - main::are_mutually_exclusive( -L, --before-context, [-L, --before-context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, -C, [-L, -C, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '-C' can't be used together" ok 53 - main::are_mutually_exclusive( -L, -C, [-L, -C, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --context, [-L, --context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--context' can't be used together" ok 54 - main::are_mutually_exclusive( -L, --context, [-L, --context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --context, [-L, --context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--context' can't be used together" ok 55 - main::are_mutually_exclusive( -L, --context, [-L, --context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --heading, [-L, --heading, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--heading' can't be used together" ok 56 - main::are_mutually_exclusive( -L, --heading, [-L, --heading, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --break, [-L, --break, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--break' can't be used together" ok 57 - main::are_mutually_exclusive( -L, --break, [-L, --break, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --group, [-L, --group, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--group' can't be used together" ok 58 - main::are_mutually_exclusive( -L, --group, [-L, --group, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, -f, [-L, -f, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '-f' can't be used together" ok 59 - main::are_mutually_exclusive( -L, -f, [-L, -f, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, -g, [-L, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '-g' can't be used together" ok 60 - main::are_mutually_exclusive( -L, -g, [-L, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -L, --show-types, [-L, --show-types, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-L' and '--show-types' can't be used together" ok 61 - main::are_mutually_exclusive( -L, --show-types, [-L, --show-types, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --output, [-o, --output, $&, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--output' can't be used together" ok 62 - main::are_mutually_exclusive( -o, --output, [-o, --output, $&, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --output, [-o, --output=$&, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--output' can't be used together" ok 63 - main::are_mutually_exclusive( -o, --output, [-o, --output=$&, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, -c, [-o, -c, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '-c' can't be used together" ok 64 - main::are_mutually_exclusive( -o, -c, [-o, -c, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --count, [-o, --count, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--count' can't be used together" ok 65 - main::are_mutually_exclusive( -o, --count, [-o, --count, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --column, [-o, --column, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--column' can't be used together" ok 66 - main::are_mutually_exclusive( -o, --column, [-o, --column, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, -A, [-o, -A, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '-A' can't be used together" ok 67 - main::are_mutually_exclusive( -o, -A, [-o, -A, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --after-context, [-o, --after-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--after-context' can't be used together" ok 68 - main::are_mutually_exclusive( -o, --after-context, [-o, --after-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --after-context, [-o, --after-context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--after-context' can't be used together" ok 69 - main::are_mutually_exclusive( -o, --after-context, [-o, --after-context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, -B, [-o, -B, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '-B' can't be used together" ok 70 - main::are_mutually_exclusive( -o, -B, [-o, -B, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --before-context, [-o, --before-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--before-context' can't be used together" ok 71 - main::are_mutually_exclusive( -o, --before-context, [-o, --before-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --before-context, [-o, --before-context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--before-context' can't be used together" ok 72 - main::are_mutually_exclusive( -o, --before-context, [-o, --before-context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, -C, [-o, -C, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '-C' can't be used together" ok 73 - main::are_mutually_exclusive( -o, -C, [-o, -C, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --context, [-o, --context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--context' can't be used together" ok 74 - main::are_mutually_exclusive( -o, --context, [-o, --context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --context, [-o, --context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--context' can't be used together" ok 75 - main::are_mutually_exclusive( -o, --context, [-o, --context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, -f, [-o, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '-f' can't be used together" ok 76 - main::are_mutually_exclusive( -o, -f, [-o, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -o, --passthru, [-o, --passthru, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-o' and '--passthru' can't be used together" ok 77 - main::are_mutually_exclusive( -o, --passthru, [-o, --passthru, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --output, [--passthru, --output, $&, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--output' can't be used together" ok 78 - main::are_mutually_exclusive( --passthru, --output, [--passthru, --output, $&, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --output, [--passthru, --output=$&, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--output' can't be used together" ok 79 - main::are_mutually_exclusive( --passthru, --output, [--passthru, --output=$&, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, -m, [--passthru, -m, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '-m' can't be used together" ok 80 - main::are_mutually_exclusive( --passthru, -m, [--passthru, -m, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --max-count, [--passthru, --max-count, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--max-count' can't be used together" ok 81 - main::are_mutually_exclusive( --passthru, --max-count, [--passthru, --max-count, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --max-count, [--passthru, --max-count=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--max-count' can't be used together" ok 82 - main::are_mutually_exclusive( --passthru, --max-count, [--passthru, --max-count=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, -1, [--passthru, -1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '-1' can't be used together" ok 83 - main::are_mutually_exclusive( --passthru, -1, [--passthru, -1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, -c, [--passthru, -c, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '-c' can't be used together" ok 84 - main::are_mutually_exclusive( --passthru, -c, [--passthru, -c, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --count, [--passthru, --count, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--count' can't be used together" ok 85 - main::are_mutually_exclusive( --passthru, --count, [--passthru, --count, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, -A, [--passthru, -A, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '-A' can't be used together" ok 86 - main::are_mutually_exclusive( --passthru, -A, [--passthru, -A, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --after-context, [--passthru, --after-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--after-context' can't be used together" ok 87 - main::are_mutually_exclusive( --passthru, --after-context, [--passthru, --after-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --after-context, [--passthru, --after-context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--after-context' can't be used together" ok 88 - main::are_mutually_exclusive( --passthru, --after-context, [--passthru, --after-context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, -B, [--passthru, -B, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '-B' can't be used together" ok 89 - main::are_mutually_exclusive( --passthru, -B, [--passthru, -B, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --before-context, [--passthru, --before-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--before-context' can't be used together" ok 90 - main::are_mutually_exclusive( --passthru, --before-context, [--passthru, --before-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --before-context, [--passthru, --before-context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--before-context' can't be used together" ok 91 - main::are_mutually_exclusive( --passthru, --before-context, [--passthru, --before-context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, -C, [--passthru, -C, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '-C' can't be used together" ok 92 - main::are_mutually_exclusive( --passthru, -C, [--passthru, -C, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --context, [--passthru, --context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--context' can't be used together" ok 93 - main::are_mutually_exclusive( --passthru, --context, [--passthru, --context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --context, [--passthru, --context=1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--context' can't be used together" ok 94 - main::are_mutually_exclusive( --passthru, --context, [--passthru, --context=1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, -f, [--passthru, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '-f' can't be used together" ok 95 - main::are_mutually_exclusive( --passthru, -f, [--passthru, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, -g, [--passthru, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '-g' can't be used together" ok 96 - main::are_mutually_exclusive( --passthru, -g, [--passthru, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --column, [--passthru, --column, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--column' can't be used together" ok 97 - main::are_mutually_exclusive( --passthru, --column, [--passthru, --column, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, -v, [--passthru, -v, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '-v' can't be used together" ok 98 - main::are_mutually_exclusive( --passthru, -v, [--passthru, -v, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, -o, [--passthru, -o, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '-o' can't be used together" ok 99 - main::are_mutually_exclusive( --passthru, -o, [--passthru, -o, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --passthru, --output, [--passthru, --output, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--passthru' and '--output' can't be used together" ok 100 - main::are_mutually_exclusive( --passthru, --output, [--passthru, --output, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, -f, [--output, $&, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '-f' can't be used together" ok 101 - main::are_mutually_exclusive( --output, -f, [--output, $&, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, -f, [--output=$&, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '-f' can't be used together" ok 102 - main::are_mutually_exclusive( --output, -f, [--output=$&, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, -g, [--output, $&, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '-g' can't be used together" ok 103 - main::are_mutually_exclusive( --output, -g, [--output, $&, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, -g, [--output=$&, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '-g' can't be used together" ok 104 - main::are_mutually_exclusive( --output, -g, [--output=$&, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, -c, [--output, $&, -c, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '-c' can't be used together" ok 105 - main::are_mutually_exclusive( --output, -c, [--output, $&, -c, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, -c, [--output=$&, -c, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '-c' can't be used together" ok 106 - main::are_mutually_exclusive( --output, -c, [--output=$&, -c, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, --count, [--output, $&, --count, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '--count' can't be used together" ok 107 - main::are_mutually_exclusive( --output, --count, [--output, $&, --count, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, --count, [--output=$&, --count, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '--count' can't be used together" ok 108 - main::are_mutually_exclusive( --output, --count, [--output=$&, --count, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, -A, [--output=$&, -A2, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '-A' can't be used together" ok 109 - main::are_mutually_exclusive( --output, -A, [--output=$&, -A2, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, -B, [--output=$&, -B2, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '-B' can't be used together" ok 110 - main::are_mutually_exclusive( --output, -B, [--output=$&, -B2, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, -C, [--output=$&, -C2, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '-C' can't be used together" ok 111 - main::are_mutually_exclusive( --output, -C, [--output=$&, -C2, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, --after-context, [--output=$&, --after-context=2, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '--after-context' can't be used together" ok 112 - main::are_mutually_exclusive( --output, --after-context, [--output=$&, --after-context=2, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, --before-context, [--output=$&, --before-context=2, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '--before-context' can't be used together" ok 113 - main::are_mutually_exclusive( --output, --before-context, [--output=$&, --before-context=2, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --output, --context, [--output=$&, --context=2, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--output' and '--context' can't be used together" ok 114 - main::are_mutually_exclusive( --output, --context, [--output=$&, --context=2, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --match, -f, [--match, nevermore, -f, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--match' and '-f' can't be used together" ok 115 - main::are_mutually_exclusive( --match, -f, [--match, nevermore, -f, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --match, -f, [--match=science, -f, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--match' and '-f' can't be used together" ok 116 - main::are_mutually_exclusive( --match, -f, [--match=science, -f, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --match, -g, [--match, nevermore, -g, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--match' and '-g' can't be used together" ok 117 - main::are_mutually_exclusive( --match, -g, [--match, nevermore, -g, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --match, -g, [--match=science, -g, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--match' and '-g' can't be used together" ok 118 - main::are_mutually_exclusive( --match, -g, [--match=science, -g, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -m, -1, [-m, 1, -1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-m' and '-1' can't be used together" ok 119 - main::are_mutually_exclusive( -m, -1, [-m, 1, -1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --max-count, -1, [--max-count, 1, -1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--max-count' and '-1' can't be used together" ok 120 - main::are_mutually_exclusive( --max-count, -1, [--max-count, 1, -1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --max-count, -1, [--max-count=1, -1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--max-count' and '-1' can't be used together" ok 121 - main::are_mutually_exclusive( --max-count, -1, [--max-count=1, -1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -m, -c, [-m, 1, -c, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-m' and '-c' can't be used together" ok 122 - main::are_mutually_exclusive( -m, -c, [-m, 1, -c, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --max-count, -c, [--max-count, 1, -c, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--max-count' and '-c' can't be used together" ok 123 - main::are_mutually_exclusive( --max-count, -c, [--max-count, 1, -c, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --max-count, -c, [--max-count=1, -c, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--max-count' and '-c' can't be used together" ok 124 - main::are_mutually_exclusive( --max-count, -c, [--max-count=1, -c, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -m, -f, [-m, 1, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-m' and '-f' can't be used together" ok 125 - main::are_mutually_exclusive( -m, -f, [-m, 1, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --max-count, -f, [--max-count, 1, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--max-count' and '-f' can't be used together" ok 126 - main::are_mutually_exclusive( --max-count, -f, [--max-count, 1, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --max-count, -f, [--max-count=1, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--max-count' and '-f' can't be used together" ok 127 - main::are_mutually_exclusive( --max-count, -f, [--max-count=1, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -m, -g, [-m, 1, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-m' and '-g' can't be used together" ok 128 - main::are_mutually_exclusive( -m, -g, [-m, 1, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --max-count, -g, [--max-count, 1, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--max-count' and '-g' can't be used together" ok 129 - main::are_mutually_exclusive( --max-count, -g, [--max-count, 1, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --max-count, -g, [--max-count=1, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--max-count' and '-g' can't be used together" ok 130 - main::are_mutually_exclusive( --max-count, -g, [--max-count=1, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -h, -f, [-h, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-h' and '-f' can't be used together" ok 131 - main::are_mutually_exclusive( -h, -f, [-h, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -h, -g, [-h, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-h' and '-g' can't be used together" ok 132 - main::are_mutually_exclusive( -h, -g, [-h, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --no-filename, -f, [--no-filename, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--no-filename' and '-f' can't be used together" ok 133 - main::are_mutually_exclusive( --no-filename, -f, [--no-filename, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --no-filename, -g, [--no-filename, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--no-filename' and '-g' can't be used together" ok 134 - main::are_mutually_exclusive( --no-filename, -g, [--no-filename, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -H, -f, [-H, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-H' and '-f' can't be used together" ok 135 - main::are_mutually_exclusive( -H, -f, [-H, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -H, -g, [-H, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-H' and '-g' can't be used together" ok 136 - main::are_mutually_exclusive( -H, -g, [-H, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --with-filename, -f, [--with-filename, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--with-filename' and '-f' can't be used together" ok 137 - main::are_mutually_exclusive( --with-filename, -f, [--with-filename, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --with-filename, -g, [--with-filename, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--with-filename' and '-g' can't be used together" ok 138 - main::are_mutually_exclusive( --with-filename, -g, [--with-filename, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, --column, [-c, --column, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '--column' can't be used together" ok 139 - main::are_mutually_exclusive( -c, --column, [-c, --column, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, -A, [-c, -A, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '-A' can't be used together" ok 140 - main::are_mutually_exclusive( -c, -A, [-c, -A, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, --after-context, [-c, --after-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '--after-context' can't be used together" ok 141 - main::are_mutually_exclusive( -c, --after-context, [-c, --after-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, -B, [-c, -B, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '-B' can't be used together" ok 142 - main::are_mutually_exclusive( -c, -B, [-c, -B, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, --before-context, [-c, --before-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '--before-context' can't be used together" ok 143 - main::are_mutually_exclusive( -c, --before-context, [-c, --before-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, -C, [-c, -C, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '-C' can't be used together" ok 144 - main::are_mutually_exclusive( -c, -C, [-c, -C, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, --context, [-c, --context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '--context' can't be used together" ok 145 - main::are_mutually_exclusive( -c, --context, [-c, --context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, --heading, [-c, --heading, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '--heading' can't be used together" ok 146 - main::are_mutually_exclusive( -c, --heading, [-c, --heading, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, --group, [-c, --group, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '--group' can't be used together" ok 147 - main::are_mutually_exclusive( -c, --group, [-c, --group, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, --break, [-c, --break, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '--break' can't be used together" ok 148 - main::are_mutually_exclusive( -c, --break, [-c, --break, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, -f, [-c, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '-f' can't be used together" ok 149 - main::are_mutually_exclusive( -c, -f, [-c, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -c, -g, [-c, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-c' and '-g' can't be used together" ok 150 - main::are_mutually_exclusive( -c, -g, [-c, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, --column, [--count, --column, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '--column' can't be used together" ok 151 - main::are_mutually_exclusive( --count, --column, [--count, --column, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, -A, [--count, -A, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '-A' can't be used together" ok 152 - main::are_mutually_exclusive( --count, -A, [--count, -A, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, --after-context, [--count, --after-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '--after-context' can't be used together" ok 153 - main::are_mutually_exclusive( --count, --after-context, [--count, --after-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, -B, [--count, -B, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '-B' can't be used together" ok 154 - main::are_mutually_exclusive( --count, -B, [--count, -B, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, --before-context, [--count, --before-context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '--before-context' can't be used together" ok 155 - main::are_mutually_exclusive( --count, --before-context, [--count, --before-context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, -C, [--count, -C, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '-C' can't be used together" ok 156 - main::are_mutually_exclusive( --count, -C, [--count, -C, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, --context, [--count, --context, 1, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '--context' can't be used together" ok 157 - main::are_mutually_exclusive( --count, --context, [--count, --context, 1, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, --heading, [--count, --heading, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '--heading' can't be used together" ok 158 - main::are_mutually_exclusive( --count, --heading, [--count, --heading, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, --group, [--count, --group, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '--group' can't be used together" ok 159 - main::are_mutually_exclusive( --count, --group, [--count, --group, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, --break, [--count, --break, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '--break' can't be used together" ok 160 - main::are_mutually_exclusive( --count, --break, [--count, --break, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, -f, [--count, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '-f' can't be used together" ok 161 - main::are_mutually_exclusive( --count, -f, [--count, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --count, -g, [--count, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--count' and '-g' can't be used together" ok 162 - main::are_mutually_exclusive( --count, -g, [--count, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -A, -f, [-A, 1, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-A' and '-f' can't be used together" ok 163 - main::are_mutually_exclusive( -A, -f, [-A, 1, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -A, -g, [-A, 1, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-A' and '-g' can't be used together" ok 164 - main::are_mutually_exclusive( -A, -g, [-A, 1, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -A, -p, [-A, 1, -p, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-A' and '-p' can't be used together" ok 165 - main::are_mutually_exclusive( -A, -p, [-A, 1, -p, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -B, -f, [-B, 1, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-B' and '-f' can't be used together" ok 166 - main::are_mutually_exclusive( -B, -f, [-B, 1, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -B, -g, [-B, 1, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-B' and '-g' can't be used together" ok 167 - main::are_mutually_exclusive( -B, -g, [-B, 1, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -B, -p, [-B, 1, -p, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-B' and '-p' can't be used together" ok 168 - main::are_mutually_exclusive( -B, -p, [-B, 1, -p, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -C, -f, [-C, 1, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-C' and '-f' can't be used together" ok 169 - main::are_mutually_exclusive( -C, -f, [-C, 1, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -C, -g, [-C, 1, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-C' and '-g' can't be used together" ok 170 - main::are_mutually_exclusive( -C, -g, [-C, 1, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -C, -p, [-C, 1, -p, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-C' and '-p' can't be used together" ok 171 - main::are_mutually_exclusive( -C, -p, [-C, 1, -p, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --after-context, -f, [--after-context, 1, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--after-context' and '-f' can't be used together" ok 172 - main::are_mutually_exclusive( --after-context, -f, [--after-context, 1, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --after-context, -g, [--after-context, 1, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--after-context' and '-g' can't be used together" ok 173 - main::are_mutually_exclusive( --after-context, -g, [--after-context, 1, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --after-context, -p, [--after-context, 1, -p, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--after-context' and '-p' can't be used together" ok 174 - main::are_mutually_exclusive( --after-context, -p, [--after-context, 1, -p, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --before-context, -f, [--before-context, 1, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--before-context' and '-f' can't be used together" ok 175 - main::are_mutually_exclusive( --before-context, -f, [--before-context, 1, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --before-context, -g, [--before-context, 1, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--before-context' and '-g' can't be used together" ok 176 - main::are_mutually_exclusive( --before-context, -g, [--before-context, 1, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --before-context, -p, [--before-context, 1, -p, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--before-context' and '-p' can't be used together" ok 177 - main::are_mutually_exclusive( --before-context, -p, [--before-context, 1, -p, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --context, -f, [--context, 1, -f, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--context' and '-f' can't be used together" ok 178 - main::are_mutually_exclusive( --context, -f, [--context, 1, -f, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --context, -g, [--context, 1, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--context' and '-g' can't be used together" ok 179 - main::are_mutually_exclusive( --context, -g, [--context, 1, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( --context, -p, [--context, 1, -p, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '--context' and '-p' can't be used together" ok 180 - main::are_mutually_exclusive( --context, -p, [--context, 1, -p, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -f, -g, [-f, -g, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '-g' can't be used together" ok 181 - main::are_mutually_exclusive( -f, -g, [-f, -g, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -f, --group, [-f, --group, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--group' can't be used together" ok 182 - main::are_mutually_exclusive( -f, --group, [-f, --group, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -f, --heading, [-f, --heading, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--heading' can't be used together" ok 183 - main::are_mutually_exclusive( -f, --heading, [-f, --heading, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -f, --break, [-f, --break, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--break' can't be used together" ok 184 - main::are_mutually_exclusive( -f, --break, [-f, --break, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -f, --column, [-f, --column, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--column' can't be used together" ok 185 - main::are_mutually_exclusive( -f, --column, [-f, --column, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -g, --group, [-g, --group, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-g' and '--group' can't be used together" ok 186 - main::are_mutually_exclusive( -g, --group, [-g, --group, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -g, --heading, [-g, --heading, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-g' and '--heading' can't be used together" ok 187 - main::are_mutually_exclusive( -g, --heading, [-g, --heading, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -g, --break, [-g, --break, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-g' and '--break' can't be used together" ok 188 - main::are_mutually_exclusive( -g, --break, [-g, --break, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -g, --column, [-g, --column, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-g' and '--column' can't be used together" ok 189 - main::are_mutually_exclusive( -g, --column, [-g, --column, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -x, --files-from, [-x, --files-from, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-x' and '--files-from' can't be used together" ok 190 - main::are_mutually_exclusive( -x, --files-from, [-x, --files-from, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -f, -x, [-f, -x, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '-x' can't be used together" ok 191 - main::are_mutually_exclusive( -f, -x, [-f, -x, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -f, --files-from, [-f, --files-from, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-f' and '--files-from' can't be used together" ok 192 - main::are_mutually_exclusive( -f, --files-from, [-f, --files-from, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -g, -x, [-g, -x, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-g' and '-x' can't be used together" ok 193 - main::are_mutually_exclusive( -g, -x, [-g, -x, nevermore, t/text/raven.txt] ) # Subtest: main::are_mutually_exclusive( -g, --files-from, [-g, --files-from, nevermore, t/text/raven.txt] ) 1..4 ok 1 - The ack command should fail ok 2 - No lines should be present on standard output ok 3 - A single line should be present on standard error ok 4 - Error message resembles "Options '-g' and '--files-from' can't be used together" ok 194 - main::are_mutually_exclusive( -g, --files-from, [-g, --files-from, nevermore, t/text/raven.txt] ) # Subtest: Verify that "options" that follow -- aren't factored into the mutual exclusivity ok 1 - Some lines should appear on standard output ok 2 - A single line should be present on standard error ok 3 - The error message should indicate a missing file (-l is a filename here, not an option) ok 4 - The ack command should not fail 1..4 ok 195 - Verify that "options" that follow -- aren't factored into the mutual exclusivity # Subtest: Verify that mutex options in different sources don't cause a problem ok 1 - Should have no output to stderr: ack --count t/text/raven.txt ok 2 - Some lines should appear on standard output 1..2 ok 196 - Verify that mutex options in different sources don't cause a problem ok t/named-pipes.t .............. 1..2 ok 1 - Should have no output to stderr: ack -f /tmp/6etx8sJ_IM ok 2 - Acking should not find the fifo ok t/needs-line-scan.t .......... 1..1 # Subtest: Util::ack_lists_match( Looking for Lenore!, bongo, -w, -h, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack bongo -w -h t/swamp # Subtest: Util::lists_match( Looking for Lenore! ) 1..1 ok 1 - Looking for Lenore! ok 2 - Util::lists_match( Looking for Lenore! ) ok 1 - Util::ack_lists_match( Looking for Lenore!, bongo, -w, -h, t/swamp ) ok t/noackrc.t .................. 1..1 # Subtest: Util::ack_sets_match( t/noackrc.t, --ignore-ack-defaults, --type-add=perl:ext:pl, -t, perl, -f, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack --ignore-ack-defaults --type-add=perl:ext:pl -t perl -f t/swamp # Subtest: Util::sets_match( t/noackrc.t ) 1..1 # Subtest: Util::lists_match( t/noackrc.t ) 1..1 ok 1 - t/noackrc.t ok 1 - Util::lists_match( t/noackrc.t ) ok 2 - Util::sets_match( t/noackrc.t ) ok 1 - Util::ack_sets_match( t/noackrc.t, --ignore-ack-defaults, --type-add=perl:ext:pl, -t, perl, -f, t/swamp ) ok t/prescan-line-boundaries.t .. 1..2 ok 1 - Should have no output to stderr: ack -l fo\s+oo /tmp/gIuIe5eDj1 ok 2 - \s+ should never match across line boundaries ok t/process-substitution.t ..... 1..1 # Subtest: Util::lists_match( t/process-substitution.t ) 1..1 ok 1 - t/process-substitution.t ok 1 - Util::lists_match( t/process-substitution.t ) ok t/trailing-whitespace.t ...... 1..4 # Subtest: whitespace+dollar normal 1..4 # Subtest: Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack \s$ t/text/ # Subtest: Util::sets_match( \s$ should not match the newlines at the end of a line ) 1..1 # Subtest: Util::lists_match( \s$ should not match the newlines at the end of a line ) 1..1 ok 1 - \s$ should not match the newlines at the end of a line ok 1 - Util::lists_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::sets_match( \s$ should not match the newlines at the end of a line ) ok 1 - Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, t/text/ ) # Subtest: Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -A, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack \s$ -A t/text/ # Subtest: Util::sets_match( \s$ should not match the newlines at the end of a line ) 1..1 # Subtest: Util::lists_match( \s$ should not match the newlines at the end of a line ) 1..1 ok 1 - \s$ should not match the newlines at the end of a line ok 1 - Util::lists_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::sets_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -A, t/text/ ) # Subtest: Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -B, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack \s$ -B t/text/ # Subtest: Util::sets_match( \s$ should not match the newlines at the end of a line ) 1..1 # Subtest: Util::lists_match( \s$ should not match the newlines at the end of a line ) 1..1 ok 1 - \s$ should not match the newlines at the end of a line ok 1 - Util::lists_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::sets_match( \s$ should not match the newlines at the end of a line ) ok 3 - Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -B, t/text/ ) # Subtest: Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -C, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack \s$ -C t/text/ # Subtest: Util::sets_match( \s$ should not match the newlines at the end of a line ) 1..1 # Subtest: Util::lists_match( \s$ should not match the newlines at the end of a line ) 1..1 ok 1 - \s$ should not match the newlines at the end of a line ok 1 - Util::lists_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::sets_match( \s$ should not match the newlines at the end of a line ) ok 4 - Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -C, t/text/ ) ok 1 - whitespace+dollar normal # Subtest: whitespace+dollar with -l 1..1 # Subtest: Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -l, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack \s$ -l t/text/ # Subtest: Util::sets_match( \s$ should not match the newlines at the end of a line ) 1..1 # Subtest: Util::lists_match( \s$ should not match the newlines at the end of a line ) 1..1 ok 1 - \s$ should not match the newlines at the end of a line ok 1 - Util::lists_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::sets_match( \s$ should not match the newlines at the end of a line ) ok 1 - Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -l, t/text/ ) ok 2 - whitespace+dollar with -l # Subtest: whitespace+dollar with -L 1..1 # Subtest: Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -L, --sort, t/text/ ) 1..2 ok 1 - Should have no output to stderr: ack \s$ -L --sort t/text/ # Subtest: Util::sets_match( \s$ should not match the newlines at the end of a line ) 1..1 # Subtest: Util::lists_match( \s$ should not match the newlines at the end of a line ) 1..1 ok 1 - \s$ should not match the newlines at the end of a line ok 1 - Util::lists_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::sets_match( \s$ should not match the newlines at the end of a line ) ok 1 - Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -L, --sort, t/text/ ) ok 3 - whitespace+dollar with -L # Subtest: whitespace+dollar with -v 1..4 # Subtest: Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -v, t/text/ozymandias.txt ) 1..2 ok 1 - Should have no output to stderr: ack \s$ -v t/text/ozymandias.txt # Subtest: Util::sets_match( \s$ should not match the newlines at the end of a line ) 1..1 # Subtest: Util::lists_match( \s$ should not match the newlines at the end of a line ) 1..1 ok 1 - \s$ should not match the newlines at the end of a line ok 1 - Util::lists_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::sets_match( \s$ should not match the newlines at the end of a line ) ok 1 - Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -v, t/text/ozymandias.txt ) # Subtest: Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -v, -A, t/text/ozymandias.txt ) 1..2 ok 1 - Should have no output to stderr: ack \s$ -v -A t/text/ozymandias.txt # Subtest: Util::sets_match( \s$ should not match the newlines at the end of a line ) 1..1 # Subtest: Util::lists_match( \s$ should not match the newlines at the end of a line ) 1..1 ok 1 - \s$ should not match the newlines at the end of a line ok 1 - Util::lists_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::sets_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -v, -A, t/text/ozymandias.txt ) # Subtest: Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -v, -B, t/text/ozymandias.txt ) 1..2 ok 1 - Should have no output to stderr: ack \s$ -v -B t/text/ozymandias.txt # Subtest: Util::sets_match( \s$ should not match the newlines at the end of a line ) 1..1 # Subtest: Util::lists_match( \s$ should not match the newlines at the end of a line ) 1..1 ok 1 - \s$ should not match the newlines at the end of a line ok 1 - Util::lists_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::sets_match( \s$ should not match the newlines at the end of a line ) ok 3 - Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -v, -B, t/text/ozymandias.txt ) # Subtest: Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -v, -C, t/text/ozymandias.txt ) 1..2 ok 1 - Should have no output to stderr: ack \s$ -v -C t/text/ozymandias.txt # Subtest: Util::sets_match( \s$ should not match the newlines at the end of a line ) 1..1 # Subtest: Util::lists_match( \s$ should not match the newlines at the end of a line ) 1..1 ok 1 - \s$ should not match the newlines at the end of a line ok 1 - Util::lists_match( \s$ should not match the newlines at the end of a line ) ok 2 - Util::sets_match( \s$ should not match the newlines at the end of a line ) ok 4 - Util::ack_sets_match( \s$ should not match the newlines at the end of a line, \s$, -v, -C, t/text/ozymandias.txt ) ok 4 - whitespace+dollar with -v ok t/zero.t ..................... 1..2 # Subtest: Util::ack_sets_match( DASH_F, -f, -t, perl, t/swamp ) 1..2 ok 1 - Should have no output to stderr: ack -f -t perl t/swamp # Subtest: Util::sets_match( DASH_F ) 1..1 # Subtest: Util::lists_match( DASH_F ) 1..1 ok 1 - DASH_F ok 1 - Util::lists_match( DASH_F ) ok 2 - Util::sets_match( DASH_F ) ok 1 - Util::ack_sets_match( DASH_F, -f, -t, perl, t/swamp ) # Subtest: Util::ack_sets_match( DASH_F_CWD:, -f, -t, perl, --sort-files, . ) 1..2 ok 1 - Should have no output to stderr: ack -f -t perl --sort-files . # Subtest: Util::sets_match( DASH_F_CWD: ) 1..1 # Subtest: Util::lists_match( DASH_F_CWD: ) 1..1 ok 1 - DASH_F_CWD: ok 1 - Util::lists_match( DASH_F_CWD: ) ok 2 - Util::sets_match( DASH_F_CWD: ) ok 2 - Util::ack_sets_match( DASH_F_CWD:, -f, -t, perl, --sort-files, . ) ok All tests successful. Files=69, Tests=857, 128 wallclock secs ( 0.87 usr 0.17 sys + 90.18 cusr 9.87 csys = 101.09 CPU) Result: PASS make[1]: Leaving directory '/build/ack-xD3x3T/ack-3.4.0' create-stamp debian/debhelper-build-stamp dh_testroot -i dh_prep -i dh_auto_install -i make -j4 install DESTDIR=/build/ack-xD3x3T/ack-3.4.0/debian/ack AM_UPDATE_INFO_DIR=no PREFIX=/usr make[1]: Entering directory '/build/ack-xD3x3T/ack-3.4.0' Manifying 1 pod document Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/ConfigFinder.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Files.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/File.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/ConfigDefault.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/ConfigLoader.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/Match.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/Inverse.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/Is.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/IsGroup.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/Default.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/MatchGroup.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/FirstLineMatch.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/Collection.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/ExtensionGroup.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/IsPathGroup.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/IsPath.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/perl5/App/Ack/Filter/Extension.pm Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/share/man/man1/ack.1p Installing /build/ack-xD3x3T/ack-3.4.0/debian/ack/usr/bin/ack make[1]: Leaving directory '/build/ack-xD3x3T/ack-3.4.0' dh_installdocs -i dh_installchangelogs -i dh_installman -i dh_lintian -i dh_perl -i dh_link -i dh_strip_nondeterminism -i dh_compress -i dh_fixperms -i dh_missing -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i dpkg-deb: building package 'ack' in '../ack_3.4.0-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ack_3.4.0-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ack-xD3x3T /tmp/ack-3.4.0-1h6ffuii4 I: cleaning package lists and apt cache... W: deleting files in /tmp: gKbdPuhQEc I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.GuWgvP4y40... I: success in 410.3055 seconds md5: ack_3.4.0-1_all.deb: OK sha1: ack_3.4.0-1_all.deb: OK sha256: ack_3.4.0-1_all.deb: OK Checksums: OK