Diff of the two buildlogs: -- --- b1/build.log 2021-08-09 20:44:39.300643695 +0000 +++ b2/build.log 2021-08-09 20:47:39.353879116 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Aug 9 08:40:22 -12 2021 -I: pbuilder-time-stamp: 1628541622 +I: Current time: Mon Sep 12 17:07:42 +14 2022 +I: pbuilder-time-stamp: 1662952062 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Mon Dec 4 19:46:34 2017 -12 +gpgv: Signature made Tue Dec 5 21:46:34 2017 +14 gpgv: using RSA key 0B29D88E42E6B765B8D8EA507839619DD439668E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-listen_3.1.5-1.dsc @@ -30,136 +30,170 @@ dpkg-source: info: applying 0004-disable-ruby_dep.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/7915/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21552/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/21552/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21552/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='a274297b44e041089beb846c7f65bbd7' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='7915' - PS1='# ' - PS2='> ' + INVOCATION_ID=916893138b714831bd8d35fb72b0a0e6 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=21552 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.YsEoQAYkE3/pbuilderrc_UKOi --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.YsEoQAYkE3/b1 --logfile b1/build.log ruby-listen_3.1.5-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.YsEoQAYkE3/pbuilderrc_U7Dk --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.YsEoQAYkE3/b2 --logfile b2/build.log ruby-listen_3.1.5-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-2~bpo10+1 (2021-07-22) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 6 20:25 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/7915/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 12 17:07 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 10 04:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/21552/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -343,7 +377,7 @@ Get: 136 http://deb.debian.org/debian buster/main amd64 ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 137 http://deb.debian.org/debian buster/main amd64 ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] Get: 138 http://deb.debian.org/debian buster/main amd64 ruby-thor all 0.19.4-1 [47.0 kB] -Fetched 43.2 MB in 1s (50.0 MB/s) +Fetched 43.2 MB in 1s (67.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0: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 ... 19195 files and directories currently installed.) @@ -927,7 +961,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-listen-3.1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-listen-3.1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-listen dpkg-buildpackage: info: source version 3.1.5-1 dpkg-buildpackage: info: source distribution unstable @@ -1030,392 +1064,389 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 57692 +Randomized with seed 41854 -Listen - .stop - stops all listeners - .to - initalizes listener +Listen::QueueOptimizer + smoosh_changes + with rename from temp file + should eq {:added=>[], :modified=>["foo"], :removed=>[]} + with no cookie + with ignored file + should eq {:added=>[], :modified=>[], :removed=>[]} + with a deteted temp file + should eq {:added=>[], :modified=>[], :removed=>[]} + with cookie + when related moved_to with ignored moved_from + should eq {:added=>[], :modified=>["foo"], :removed=>[]} + when related moved_to + should eq {:added=>["bar"], :modified=>[], :removed=>[]} + when single moved + should eq {:added=>["foo"], :modified=>[], :removed=>[]} + when double move + should eq {:added=>[], :modified=>["foo"], :removed=>[]} -Listen - with one listen dir - with change block raising - warns the backtrace - force_polling option to true - when :ignore is *ignored_dir* - when default ignore is *.rb - should not process addition of "file.rb" - with #ignore on *.txt mask - should not process addition of "file.rb" - should not process addition of "file.txt" - with #ignore! on *.txt mask - should not process addition of "file.txt" - should process addition of "file.rb" - ignored dir with file in listen dir - should not process addition of "ignored_dir/file.rb" - when :ignore is bar.rb - when :only is *.rb - should not process addition of "file.txt" - should not process addition of "bar.rb" - should process addition of "file.rb" - when :only is *.rb - should process addition of "file.rb" - should not process addition of "file.txt" - with default ignore options - dir in listen dir - should process addition of "dir/file.rb" - with nothing in listen dir - should process addition of "file.rb" - should process addition of ".hidden" - listens to file moved inside - listens to multiple files addition - two dirs with files in listen dir - listens to dir move - listens to multiple file moves - dir with file in listen dir - listens to file move - existing file.rb in listen dir - listens to file.rb moved out - listens to file mode change - should process modification of "file.rb" - should process removal of "file.rb" - with .bundle dir ignored by default - should not process addition of ".bundle/file.rb" - hidden file in listen dir - should process modification of ".hidden" - when polling - with a large latency - passes the latency option correctly - force_polling option to false - when driver does not support option - does not pass the latency option - with default ignore options - hidden file in listen dir - should process modification of ".hidden" - dir in listen dir - should process addition of "dir/file.rb" - two dirs with files in listen dir - listens to dir move - listens to multiple file moves - existing file.rb in listen dir - listens to file mode change - should process modification of "file.rb" - listens to file.rb moved out - should process removal of "file.rb" - with .bundle dir ignored by default - should not process addition of ".bundle/file.rb" - with nothing in listen dir - should process addition of "file.rb" - listens to file moved inside - listens to multiple files addition - should process addition of ".hidden" - dir with file in listen dir - listens to file move - when :ignore is *ignored_dir* - when :only is *.rb - should process addition of "file.rb" - should not process addition of "file.txt" - when :ignore is bar.rb - when :only is *.rb - should not process addition of "file.txt" - should process addition of "file.rb" - should not process addition of "bar.rb" - when default ignore is *.rb - should not process addition of "file.rb" - with #ignore on *.txt mask - should not process addition of "file.rb" - should not process addition of "file.txt" - with #ignore! on *.txt mask - should process addition of "file.rb" - should not process addition of "file.txt" - ignored dir with file in listen dir - should not process addition of "ignored_dir/file.rb" +Listen::Adapter::Config + #queue + provides a direct queue for filesystem events + #initialize + with directories as array + with strings for directories + when not resolved + returns array of resolved pathnames + when already resolved + returns array of pathnames + with Pathnames for directories + returns array of pathnames + with directories as messy array + implement me (PENDING: Not yet implemented) + with no directories + returns the current path in array + #adapter_options + provides a set of adapter_specific options + #silencer + provides a silencer object + +Listen::Silencer::Controller + append_ignores + with previous :ignore rules + when providing as array + appends the given :ignore rules + when providing multiple arguments + appends the given :ignore rules as a flat array + when providing a nil + reconfigures with existing :ignore rules + when providing a single regexp as argument + appends the given :ignore rules as array + with no previous :ignore rules + when providing a single regexp as argument + sets the given :ignore rules as array + when providing as array + sets the given :ignore rules + when providing a nil + sets the given :ignore rules as empty array + when providing multiple arguments + sets the given :ignore rules as a flat array + +Listen::Listener + #stop + when frontend is ready + terminates + when only backend is already started + terminates + when fully started + terminates + when only initialized + terminates + #paused? + returns true when paused + returns false when not paused + #listen? + when processing + should be processing + when stopped + should not be processing + when paused + should not be processing + #ignore + with existing ignore options (array) + adds up to existing ignore options + with existing ignore options + adds up to existing ignore options + unpause with start + sets paused to false + #only + with existing only options + overwrites existing ignore options + initialize + should not be paused + with directories + passes directories to backend + with a block + passes the block to the event processor + #pause + sets paused to true + #start + sets paused to false + starts adapter + #ignore! + with existing ignore! options + overwrites existing ignore options + with no existing options + sets options + with existing ignore options + deletes ignore options Listen::Record - #add_dir - sets itself when nil - correctly sets new directory data - sets itself when . - sets itself when empty - sets path and keeps old data not overwritten - #dir_entries - in subdir /path - with path/file.rb already in record - should eq {"file.rb"=>{:mtime=>1.1}} - with no entries - should be empty - in watched dir - with file.rb in record - should eq {"file.rb"=>{:mtime=>1.1}} - with subdir/file.rb in record - should eq {"subdir"=>{}} - with no entries - should be empty - #update_file - with path in watched dir - sets path by spliting dirname and basename - sets path and keeps old data not overwritten - with subdir path - sets path and keeps old data not overwritten - sets path by spliting dirname and basename #unset_path - within subdir - when path not present - unsets path + within watched dir when path is present unsets path - within watched dir + when path not present + unsets path + within subdir when path is present unsets path when path not present unsets path #file_data - with path in subdir - when path is present - returns file data + with path in watched dir path not present return empty hash - with path in watched dir + when path is present + returns file data + with path in subdir when path is present returns file data path not present return empty hash + #add_dir + sets itself when empty + sets path and keeps old data not overwritten + correctly sets new directory data + sets itself when nil + sets itself when . + #update_file + with path in watched dir + sets path and keeps old data not overwritten + sets path by spliting dirname and basename + with subdir path + sets path and keeps old data not overwritten + sets path by spliting dirname and basename + #dir_entries + in subdir /path + with path/file.rb already in record + should eq {"file.rb"=>{:mtime=>1.1}} + with no entries + should be empty + in watched dir + with no entries + should be empty + with file.rb in record + should eq {"file.rb"=>{:mtime=>1.1}} + with subdir/file.rb in record + should eq {"subdir"=>{}} #build re-inits paths - with subdir containing files - builds record + with subdir containing symlinked file + shows a warning with a normal symlinked directory to another shows message + with subdir containing dirs + builds record with no subdirs builds record - with subdir containing symlinked file - shows a warning + with subdir containing files + builds record with subdir containing symlink to parent shows a warning - with subdir containing dirs - builds record -Listen::Listener - #start - starts adapter - sets paused to false - #pause - sets paused to true +Listen::File + #inaccurate_mac_time? + with one accurate time + should be falsey + with all accurate times + should be falsey + with no accurate times + should be truthy + #change + with empty record + with existing path + returns added + sets path in record with expected data + with file record + with existing file + with different mode in record + should equal :modified + sets path in record with expected data + with same mode in record + with earlier mtime than in record + should equal :modified + sets path in record with expected data + with indentical mtime in record + with inaccurate stat times + with real mtime barely within last second + with available md5 + with no md5 in record + should be nil + with same md5 in record + should be nil + with different md5 in record + sets path in record with expected data + should equal :modified + without available md5 + should equal :removed + should not unset record + with real mtime barely not within last second + should be nil + with accurate stat times + should be nil + with later mtime than in record + sets path in record with expected data + should equal :modified + with non-existing file + sets path in record + should eq :removed + +Listen::Backend #stop - when frontend is ready - terminates - when only backend is already started - terminates - when fully started - terminates - when only initialized - terminates - #ignore! - with no existing options - sets options - with existing ignore options - deletes ignore options - with existing ignore! options - overwrites existing ignore options - #ignore - with existing ignore options - adds up to existing ignore options - with existing ignore options (array) - adds up to existing ignore options - unpause with start - sets paused to false - #listen? - when paused - should not be processing - when stopped - should not be processing - when processing - should be processing - #paused? - returns true when paused - returns false when not paused - #only - with existing only options - overwrites existing ignore options - initialize - should not be paused - with a block - passes the block to the event processor - with directories - passes directories to backend + stops the adapter + #initialize + with config + sets up an adapter class + #start + starts the adapter -Listen::Silencer::Controller - append_ignores - with no previous :ignore rules - when providing multiple arguments - sets the given :ignore rules as a flat array - when providing a single regexp as argument - sets the given :ignore rules as array - when providing a nil - sets the given :ignore rules as empty array - when providing as array - sets the given :ignore rules - with previous :ignore rules - when providing a nil - reconfigures with existing :ignore rules - when providing multiple arguments - appends the given :ignore rules as a flat array - when providing a single regexp as argument - appends the given :ignore rules as array - when providing as array - appends the given :ignore rules +Listen + .stop + stops all listeners + .to + initalizes listener + +Listen::Change + #change + with build options + calls still_building! on record + directory + calls Listen::Directory#new + file + with known change + doesn't notify to listener if path is silenced + notifies change directly to listener + with unknown change + calls Listen::File#change + doesn't call Listen::File#change if path is silenced + that returns no change + doesn't notifies no change + that returns a change + listener listen + notifies change to listener + silence option + notifies change to listener + +Listen::CLI + relative option + without relative option + is set to false + when -r + is set to true + when --relative + supports -r option + supports --relative option + directories option + not specified + is set to local directory + with a single directory + is set to app + with a multiple directories + is set to an array of the directories Listen::Forwarder passes relative option to Listen -Listen::Adapter::Base - handling events - when an event occurs - passes invalidates the snapshot based on the event - #start - builds record - runs the adapter +Listen::Adapter::Polling + class + should be usable + with a valid configuration + #_latency + with custom latency overriding + should eq 1234 + with no overriding option + should eq 1.0 + #start + notifies change on every listener directories path -Listen::Silencer - #silenced? - should accept :file and # - when accepting only *foo* - should accept :file and "foo" - should not accept :file and "bar" - when ignoring only *.pid - should not accept :file and "foo.pid" - should accept :file and ".git" - with default ignore - should accept :dir and "foobundle" - should accept :file and "sed_ABCDE" - should accept :file and "sedabcdefg" - should not accept :dir and ".hg" - should accept :dir and "vendor/bundlefoo" - should accept :file and "foo.sedq7eVAR" - should accept :dir and ".gitfoo" - should not accept :file and "foo~" - should accept :dir and "tmpfoo" - should not accept :dir and ".bundle" - should not accept :file and "foo.rb___jb_old___" - should not accept :dir and ".git" - should accept :dir and ".hgfoo" - should not accept :dir and "log" - should accept :dir and "foo.bundle" - should accept :dir and "foo.hg" - should accept :dir and ".bundlefoo" - should accept :dir and "vendor/rubyfoo" - should not accept :dir and ".svn" - should accept :dir and "logfoo" - should accept :file and "sedan2014" - should accept :file and "sediments" - should not accept :file and "foo.rbo54321.new" - should accept :file and "file.new" - should accept :file and "file54321.new" - should not accept :dir and ".rbx" - should not accept :dir and "bundle" - should not accept :dir and "vendor/bundle" - should accept :file and "foo.tmpl" - should not accept :file and "foo.tmp" - should not accept :file and "foo.swx" - should not accept :file and "sed86w1kB" - should accept :file and "a.swf" - should accept :dir and "foovendor/ruby" - should accept :dir and "foo.rbx" - should accept :file and "49131" - should not accept :file and "4913" - should accept :file and "14913" - should not accept :file and "foo.swpx" - should accept :file and ".sedq7eVAR" - should not accept :dir and "vendor/ruby" - should not accept :file and "foo.swp" - should accept :dir and ".rbxfoo" - should not accept :file and ".DS_Store" - should accept :dir and "foo.git" - should not accept :file and "foo.rb.kate-swp" - should not accept :file and "foo.rb___jb_bak___" - should not accept :file and "foo.rbB22583.new" - should accept :dir and "foolog" - should not accept :file and "sedq7eVAR" - should accept :file and "sedatives" - should accept :dir and "foovendor/bundle" - should accept :dir and "footmp" - should accept :dir and ".svnfoo" - should not accept :file and ".goutputstream-S3FBGX" - should accept :dir and "bundlefoo" - should not accept :dir and "tmp" - should accept :dir and "foo.svn" - when ignoring *.pid - should not accept :file and "foo.pid" - when ignoring foo/bar* and *.pid - should not accept :file and "foo.pid" - should not accept :file and "foo/bar/baz" - when accepting only *.pid - when ignoring bar* - should accept :file and "foo.pid" - should not accept :file and "foo.rb" - should not accept :file and "bar.pid" - when accepting only foo/* and *.txt - should not accept :file and "bar.rb" - should accept :file and "bar.txt" - should not accept :file and "bar/baz.rb" - should accept :file and "foo/bar.rb" +Listen::Event::Queue + #empty? + when not empty + should not be empty + when empty + should be empty + #pop + when empty + forward the call to the queue + #<< + when a block is given + calls the provided block + when no block is given + calls the provided block + when relative option is true + when watched dir is the current dir + registers relative paths + when watched dir is on another drive + registers full path + when watched dir is not the current dir + registers relative path + +Listen::Adapter + .select + returns Linux adapter when usable + returns Darwin adapter when usable + returns BSD adapter when usable + returns Windows adapter when usable + returns Polling adapter if forced + no usable adapters + returns Polling adapter + doesn't warn if polling_fallback_message is false + warns polling fallback with custom message if set + warns polling fallback with default message + +Listen::Listener::Config + options + custom options + extracts adapter options + extract adapter selecting options Listen::Event::Loop when set up / paused - #teardown -WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. - waits for the thread to finish + #resume WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. - frees the thread + resumes the thread WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. sets the reason for waking up - #resume + #teardown +WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. + frees the thread WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. sets the reason for waking up WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. - resumes the thread - when stopped - when resume is called - fails - when wakeup_on_event is called - does nothing - #setup -WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:68:in `block (3 levels) in '. - sets up the thread in a resumable state + waits for the thread to finish when resumed WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. is not paused - when resume is called again + when wakeup_on_event is called + when thread is alive WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. - does nothing - when wakeup_on_event is called - when thread is dead + sets the reason for waking up WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. - does not wake up the thread - when thread is alive WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. + wakes up the thread + when thread is dead WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. - wakes up the thread + does not wake up the thread + when resume is called again WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. - sets the reason for waking up + does nothing + when stopped + when resume is called + fails + when wakeup_on_event is called + does nothing + #setup +WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:68:in `block (3 levels) in '. + sets up the thread in a resumable state Listen::Event::Processor #loop_for - when stopped - with pending changes - does not change the event queue - does not sleep when not stopped when initially paused when still paused after sleeping @@ -1431,261 +1462,264 @@ breaks sleeps, waiting to be woken up when initially processing + when event queue has events + when there were events ages ago + processes events when event queue is empty when stopped after sleeping sleeps, waiting to be woken up breaks - when event queue has events - when there were events ages ago - processes events - -Listen::CLI - relative option - without relative option - is set to false - when -r - is set to true - when --relative - supports -r option - supports --relative option - directories option - not specified - is set to local directory - with a multiple directories - is set to an array of the directories - with a single directory - is set to app - -Listen::QueueOptimizer - smoosh_changes - with a deteted temp file - should eq {:added=>[], :modified=>[], :removed=>[]} - when double move - should eq {:added=>[], :modified=>["foo"], :removed=>[]} - with cookie - when related moved_to with ignored moved_from - should eq {:added=>[], :modified=>["foo"], :removed=>[]} - when single moved - should eq {:added=>["foo"], :modified=>[], :removed=>[]} - when related moved_to - should eq {:added=>["bar"], :modified=>[], :removed=>[]} - with rename from temp file - should eq {:added=>[], :modified=>["foo"], :removed=>[]} - with no cookie - with ignored file - should eq {:added=>[], :modified=>[], :removed=>[]} - -Listen::Adapter - .select - returns Linux adapter when usable - returns Windows adapter when usable - returns Darwin adapter when usable - returns BSD adapter when usable - returns Polling adapter if forced - no usable adapters - returns Polling adapter - doesn't warn if polling_fallback_message is false - warns polling fallback with default message - warns polling fallback with custom message if set - -Listen::Adapter::Linux - inotify limit message -FATAL: Listen error: unable to monitor directories for changes. -Visit https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers for info on how to fix this. - should be shown before calling abort - _callback - recognizes moved_to as moved_to - recognizes moved_from as moved_from - recognizes close_write as modify - class - should be usable - #stop - when not even initialized - does not crash - when configured - stops the worker - -Listen::Event::Queue - #<< - when a block is given - calls the provided block - when no block is given - calls the provided block - when relative option is true - when watched dir is not the current dir - registers relative path - when watched dir is the current dir - registers relative paths - when watched dir is on another drive - registers full path - #pop - when empty - forward the call to the queue - #empty? - when not empty - should not be empty - when empty - should be empty - -Listen::Adapter::Polling - with a valid configuration - #_latency - with no overriding option - should eq 1.0 - with custom latency overriding - should eq 1234 - #start - notifies change on every listener directories path - class - should be usable - -Listen::Backend - #start - starts the adapter - #initialize - with config - sets up an adapter class - #stop - stops the adapter - -Listen::Listener::Config - options - custom options - extracts adapter options - extract adapter selecting options + when stopped + with pending changes + does not sleep + does not change the event queue Listen::Directory #scan with recursive off with empty record with file.rb in dir snapshots changes for file & file2 paths - when network share is disconnected - unsets record dir path - reports no changes with non-existing dir path reports no changes unsets record dir path + when network share is disconnected + reports no changes + unsets record dir path with file & subdir in record - when subdir is removed - notices subdir does not exist + with empty dir + snapshots changes for file path and dir that doesn't exist + sets record dir path when file.rb removed notices file was removed + when subdir is removed + notices subdir does not exist when file.rb no longer exists after scan rescans - with empty dir - sets record dir path - snapshots changes for file path and dir that doesn't exist when file2.rb is added notices file removed and file2 changed #scan with recursive on + with file.rb & subdir in record + with subdir2 path present + snapshots changes for file, file2 & subdir paths + with empty dir + snapshots changes for file & subdir path with empty record with non-existing dir reports no changes with subdir present in dir snapshots changes for subdir - with file.rb & subdir in record - with empty dir - snapshots changes for file & subdir path - with subdir2 path present - snapshots changes for file, file2 & subdir paths -Listen::Change - #change - with build options - calls still_building! on record - file - with known change - doesn't notify to listener if path is silenced - notifies change directly to listener - with unknown change - doesn't call Listen::File#change if path is silenced - calls Listen::File#change - that returns a change - listener listen - notifies change to listener - silence option - notifies change to listener - that returns no change - doesn't notifies no change - directory - calls Listen::Directory#new +Listen::Adapter::BSD + class + should not be usable -Listen::File - #inaccurate_mac_time? - with all accurate times - should be falsey - with one accurate time - should be falsey - with no accurate times - should be truthy - #change - with file record - with non-existing file - should eq :removed - sets path in record - with existing file - with same mode in record - with indentical mtime in record - with inaccurate stat times - with real mtime barely within last second - with available md5 - with same md5 in record - should be nil - with no md5 in record - should be nil - with different md5 in record - should equal :modified - sets path in record with expected data - without available md5 - should equal :removed - should not unset record - with real mtime barely not within last second - should be nil - with accurate stat times - should be nil - with earlier mtime than in record - should equal :modified - sets path in record with expected data - with later mtime than in record - sets path in record with expected data - should equal :modified - with different mode in record - should equal :modified - sets path in record with expected data - with empty record - with existing path - sets path in record with expected data - returns added +Listen::Adapter::Linux + inotify limit message +FATAL: Listen error: unable to monitor directories for changes. +Visit https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers for info on how to fix this. + should be shown before calling abort + _callback + recognizes close_write as modify + recognizes moved_to as moved_to + recognizes moved_from as moved_from + class + should be usable + #stop + when not even initialized + does not crash + when configured + stops the worker + +Listen::Adapter::Base + handling events + when an event occurs + passes invalidates the snapshot based on the event + #start + builds record + runs the adapter + +Listen::Silencer + #silenced? + should accept :file and # + when ignoring foo/bar* and *.pid + should not accept :file and "foo.pid" + should not accept :file and "foo/bar/baz" + when accepting only *.pid + when ignoring bar* + should accept :file and "foo.pid" + should not accept :file and "foo.rb" + should not accept :file and "bar.pid" + when ignoring only *.pid + should accept :file and ".git" + should not accept :file and "foo.pid" + with default ignore + should accept :file and "foo.sedq7eVAR" + should not accept :file and "sedq7eVAR" + should accept :dir and "logfoo" + should accept :dir and ".bundlefoo" + should not accept :dir and ".svn" + should accept :file and "file54321.new" + should not accept :file and "foo.swpx" + should accept :dir and "foo.rbx" + should not accept :file and "foo.swx" + should accept :dir and "foo.bundle" + should accept :dir and "footmp" + should not accept :dir and ".hg" + should not accept :dir and "vendor/bundle" + should accept :dir and "vendor/rubyfoo" + should not accept :file and "sed86w1kB" + should accept :file and "sedatives" + should not accept :dir and ".bundle" + should not accept :dir and "log" + should not accept :dir and "tmp" + should accept :file and ".sedq7eVAR" + should accept :dir and "foobundle" + should not accept :dir and "vendor/ruby" + should accept :file and "14913" + should not accept :dir and ".git" + should accept :dir and "foo.svn" + should not accept :file and ".goutputstream-S3FBGX" + should not accept :file and "foo.swp" + should accept :dir and "vendor/bundlefoo" + should accept :dir and "bundlefoo" + should not accept :file and "foo.tmp" + should accept :dir and "foovendor/ruby" + should accept :dir and ".svnfoo" + should not accept :file and "foo~" + should accept :file and "49131" + should accept :file and "sedabcdefg" + should accept :dir and ".rbxfoo" + should accept :dir and "foo.git" + should accept :dir and "foo.hg" + should accept :dir and ".gitfoo" + should not accept :file and "foo.rbo54321.new" + should accept :file and "sediments" + should accept :file and "sed_ABCDE" + should not accept :file and "foo.rb.kate-swp" + should accept :file and "a.swf" + should not accept :dir and "bundle" + should accept :dir and "foovendor/bundle" + should not accept :dir and ".rbx" + should not accept :file and "foo.rbB22583.new" + should not accept :file and ".DS_Store" + should accept :file and "sedan2014" + should accept :dir and ".hgfoo" + should accept :dir and "tmpfoo" + should accept :file and "foo.tmpl" + should not accept :file and "4913" + should not accept :file and "foo.rb___jb_bak___" + should accept :file and "file.new" + should accept :dir and "foolog" + should not accept :file and "foo.rb___jb_old___" + when accepting only foo/* and *.txt + should not accept :file and "bar/baz.rb" + should accept :file and "foo/bar.rb" + should accept :file and "bar.txt" + should not accept :file and "bar.rb" + when ignoring *.pid + should not accept :file and "foo.pid" + when accepting only *foo* + should accept :file and "foo" + should not accept :file and "bar" Listen::Event::Config with a given block calls the block is callable -Listen::Adapter::Config - #silencer - provides a silencer object - #initialize - with no directories - returns the current path in array - with directories as messy array - implement me (PENDING: Not yet implemented) - with directories as array - with Pathnames for directories - returns array of pathnames - with strings for directories - when not resolved - returns array of resolved pathnames - when already resolved - returns array of pathnames - #adapter_options - provides a set of adapter_specific options - #queue - provides a direct queue for filesystem events - -Listen::Adapter::BSD - class - should not be usable +Listen + with one listen dir + force_polling option to false + when driver does not support option + does not pass the latency option + with default ignore options + hidden file in listen dir + should process modification of ".hidden" + two dirs with files in listen dir + listens to multiple file moves + listens to dir move + dir in listen dir + should process addition of "dir/file.rb" + existing file.rb in listen dir + listens to file.rb moved out + should process modification of "file.rb" + listens to file mode change + should process removal of "file.rb" + dir with file in listen dir + listens to file move + with nothing in listen dir + listens to multiple files addition + should process addition of ".hidden" + should process addition of "file.rb" + listens to file moved inside + with .bundle dir ignored by default + should not process addition of ".bundle/file.rb" + when :ignore is *ignored_dir* + when :ignore is bar.rb + when :only is *.rb + should not process addition of "file.txt" + should not process addition of "bar.rb" + should process addition of "file.rb" + when default ignore is *.rb + should not process addition of "file.rb" + with #ignore on *.txt mask + should not process addition of "file.txt" + should not process addition of "file.rb" + with #ignore! on *.txt mask + should process addition of "file.rb" + should not process addition of "file.txt" + ignored dir with file in listen dir + should not process addition of "ignored_dir/file.rb" + when :only is *.rb + should process addition of "file.rb" + should not process addition of "file.txt" + with change block raising + warns the backtrace + force_polling option to true + with default ignore options + with .bundle dir ignored by default + should not process addition of ".bundle/file.rb" + hidden file in listen dir + should process modification of ".hidden" + with nothing in listen dir + should process addition of "file.rb" + should process addition of ".hidden" + listens to file moved inside + listens to multiple files addition + dir with file in listen dir + listens to file move + dir in listen dir + should process addition of "dir/file.rb" + two dirs with files in listen dir + listens to dir move + listens to multiple file moves + existing file.rb in listen dir + should process removal of "file.rb" + listens to file mode change + should process modification of "file.rb" + listens to file.rb moved out + when polling + with a large latency + passes the latency option correctly + when :ignore is *ignored_dir* + when default ignore is *.rb + should not process addition of "file.rb" + with #ignore! on *.txt mask + should process addition of "file.rb" + should not process addition of "file.txt" + with #ignore on *.txt mask + should not process addition of "file.rb" + should not process addition of "file.txt" + when :ignore is bar.rb + when :only is *.rb + should not process addition of "bar.rb" + should not process addition of "file.txt" + should process addition of "file.rb" + when :only is *.rb + should not process addition of "file.txt" + should process addition of "file.rb" + ignored dir with file in listen dir + should not process addition of "ignored_dir/file.rb" Pending: (Failures listed here are expected and do not affect your suite's status) @@ -1693,10 +1727,10 @@ # Not yet implemented # ./spec/lib/listen/adapter/config_spec.rb:82 -Finished in 2 minutes 23 seconds (files took 1.14 seconds to load) +Finished in 2 minutes 18.1 seconds (files took 0.48773 seconds to load) 316 examples, 0 failures, 1 pending -Randomized with seed 57692 +Randomized with seed 41854 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1727,12 +1761,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/21552/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21552/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/7915 and its subdirectories -I: Current time: Mon Aug 9 08:44:38 -12 2021 -I: pbuilder-time-stamp: 1628541878 +I: removing directory /srv/workspace/pbuilder/21552 and its subdirectories +I: Current time: Mon Sep 12 17:10:40 +14 2022 +I: pbuilder-time-stamp: 1662952240