Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/golang-github-src-d-gcfg/golang-github-src-d-gcfg_1.4.0-2_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/golang-github-src-d-gcfg-1.4.0-2cpxa3ixa/golang-github-src-d-gcfg_1.4.0-2_all.buildinfo Get source package info: golang-github-src-d-gcfg=1.4.0-2 Source URL: http://snapshot.notset.fr/mr/package/golang-github-src-d-gcfg/1.4.0-2/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-3 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.2 debianutils=4.11 dh-autoreconf=19 dh-golang=1.49 dh-strip-nondeterminism=1.8.1-2 diffutils=1:3.7-3 dmsetup=2:1.02.167-1+b1 dpkg=1.20.3 dpkg-dev=1.20.3 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 golang-1.14-go=1.14.4-2 golang-1.14-src=1.14.4-2 golang-any=2:1.14~2 golang-github-pkg-errors-dev=0.9.1-1 golang-go=2:1.14~2 golang-gopkg-warnings.v0-dev=0.1.2-1 golang-src=2:1.14~2 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 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 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.2 libdevmapper1.02.1=2:1.02.167-1+b1 libdpkg-perl=1.20.3 libelf1=0.176-1.1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.8.1-2 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-2 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.1.0-4 libgpg-error0=1.38-2 libicu67=67.1-2 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-2 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-2 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-4 man-db=2.9.3-2 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-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/20200912T204657Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200705T204532Z/ 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 golang-github-src-d-gcfg=1.4.0-2 && mkdir -p /build/golang-github-src-d-gcfg-0TlOjl && dpkg-source --no-check -x /*.dsc /build/golang-github-src-d-gcfg-0TlOjl/golang-github-src-d-gcfg-1.4.0 && chown -R builduser:builduser /build/golang-github-src-d-gcfg-0TlOjl" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-src-d-gcfg-0TlOjl/golang-github-src-d-gcfg-1.4.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1594001016" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/golang-github-src-d-gcfg-0TlOjl /tmp/golang-github-src-d-gcfg-1.4.0-2cpxa3ixa bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200705T204532Z 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.V_DZ2RmAQb 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.V_DZ2RmAQb 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/20200705T204532Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200705T204532Z 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 0s (1068 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 ... 4633 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/20200912T204657Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200705T204532Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.V_DZ2RmAQb Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200912T204657Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20200705T204532Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20200912T204657Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200912T204657Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200912T204657Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20200912T204657Z unstable/main amd64 Packages [11.4 MB] Fetched 34.1 MB in 28s (1206 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.V_DZ2RmAQb I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d golang-github-src-d-gcfg=1.4.0-2 && mkdir -p /build/golang-github-src-d-gcfg-0TlOjl && dpkg-source --no-check -x /*.dsc /build/golang-github-src-d-gcfg-0TlOjl/golang-github-src-d-gcfg-1.4.0 && chown -R builduser:builduser /build/golang-github-src-d-gcfg-0TlOjl"' exec /tmp/mmdebstrap.V_DZ2RmAQb Reading package lists... NOTICE: 'golang-github-src-d-gcfg' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-github-src-d-gcfg.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-github-src-d-gcfg.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 33.4 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-src-d-gcfg 1.4.0-2 (dsc) [2276 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-src-d-gcfg 1.4.0-2 (tar) [28.5 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-src-d-gcfg 1.4.0-2 (diff) [2620 B] Fetched 33.4 kB in 0s (641 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'golang-github-src-d-gcfg_1.4.0-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting golang-github-src-d-gcfg in /build/golang-github-src-d-gcfg-0TlOjl/golang-github-src-d-gcfg-1.4.0 dpkg-source: info: unpacking golang-github-src-d-gcfg_1.4.0.orig.tar.gz dpkg-source: info: unpacking golang-github-src-d-gcfg_1.4.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix-tests-go1.13.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-src-d-gcfg-0TlOjl/golang-github-src-d-gcfg-1.4.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1594001016" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.V_DZ2RmAQb dpkg-buildpackage: info: source package golang-github-src-d-gcfg dpkg-buildpackage: info: source version 1.4.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Michael Hudson-Doyle dpkg-source --before-build . fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules build-indep dh build-indep --buildsystem=golang --with=golang dh_update_autotools_config -i -O--buildsystem=golang dh_autoreconf -i -O--buildsystem=golang dh_auto_configure -i -O--buildsystem=golang dh_auto_build -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/src-d/gcfg github.com/src-d/gcfg/scanner github.com/src-d/gcfg/token github.com/src-d/gcfg/types runtime/internal/sys internal/race runtime/internal/atomic internal/cpu sync/atomic runtime/internal/math unicode unicode/utf8 internal/bytealg encoding math/bits internal/testlog math runtime internal/reflectlite sync math/rand errors sort io internal/oserror strconv syscall strings bytes reflect bufio internal/syscall/unix internal/syscall/execenv time internal/poll encoding/binary internal/fmtsort os path/filepath fmt io/ioutil github.com/src-d/gcfg/types gopkg.in/warnings.v0 github.com/src-d/gcfg/token encoding/gob math/big github.com/src-d/gcfg/scanner github.com/src-d/gcfg dh_auto_test -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/src-d/gcfg github.com/src-d/gcfg/scanner github.com/src-d/gcfg/token github.com/src-d/gcfg/types === RUN TestIssue1 TestIssue1: issues_test.go:46: 0 pass: failed to parse "X" as int: expected integer TestIssue1: issues_test.go:46: 1 pass: failed to parse "" as int: EOF TestIssue1: issues_test.go:46: 2 pass: failed to parse "1A" as int: extra characters "A" TestIssue1: issues_test.go:46: 3 pass: failed to parse "X" as big.Int: number has no digits TestIssue1: issues_test.go:46: 4 pass: failed to parse "" as big.Int: unexpected EOF TestIssue1: issues_test.go:46: 5 pass: failed to parse "1A" as big.Int: extra characters "A" --- PASS: TestIssue1 (0.00s) === RUN TestIssue2 TestIssue2: read_test.go:311: issue2:0 pass: got value &gcfg.confIssue2{Main:struct { Foo string }{Foo:"bar"}} TestIssue2: read_test.go:311: issue2:1 pass: got value &gcfg.confIssue2{Main:struct { Foo string }{Foo:"bar"}} --- PASS: TestIssue2 (0.00s) === RUN TestReadStringInto TestReadStringInto: read_test.go:311: scanning:0 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:1 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:"value"}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:2 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:3 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:" ", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:4 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:5 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:" value ", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:6 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va ; lue", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:7 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"val ue", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:319: scanning:8 pass: got error 2:6: string not terminated TestReadStringInto: read_test.go:311: scanning:9 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va\\lue", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:10 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va\"lue", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:11 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va\nlue", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:12 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va\tlue", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:13 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"x:\\path\\", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:14 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"\b", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:319: scanning:15 pass: got error 3:7: unknown escape sequence TestReadStringInto: read_test.go:319: scanning:16 pass: got error 3:7: unknown escape sequence TestReadStringInto: read_test.go:319: scanning:17 pass: got error 3:11: unknown escape sequence TestReadStringInto: read_test.go:319: scanning:18 pass: got error 3:10: unknown escape sequence TestReadStringInto: read_test.go:319: scanning:19 pass: got error 2:9: unknown escape sequence TestReadStringInto: read_test.go:319: scanning:20 pass: got error 2:9: unknown escape sequence TestReadStringInto: read_test.go:311: scanning:21 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:319: scanning:22 pass: got error 2:14: unknown escape sequence TestReadStringInto: read_test.go:311: scanning:whitespace:0 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:1 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:2 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:3 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:4 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:5 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:6 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:7 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:8 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:9 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:10 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:11 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:12 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:13 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:14 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:15 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:16 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:17 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:18 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:whitespace:19 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:0 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:1 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:2 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:3 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:4 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:5 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:6 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:7 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:8 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:9 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:10 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"va ; lue", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:comments:11 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: scanning:subsections:0 pass: got value &gcfg.cSubs{Sub:map[string]*gcfg.cSubsS1{"A":(*gcfg.cSubsS1)(0xc0001ce960)}} TestReadStringInto: read_test.go:311: scanning:subsections:1 pass: got value &gcfg.cSubs{Sub:map[string]*gcfg.cSubsS1{"b":(*gcfg.cSubsS1)(0xc0001ceb80)}} TestReadStringInto: read_test.go:311: scanning:subsections:2 pass: got value &gcfg.cSubs{Sub:map[string]*gcfg.cSubsS1{"A\\":(*gcfg.cSubsS1)(0xc0001ceda0)}} TestReadStringInto: read_test.go:311: scanning:subsections:3 pass: got value &gcfg.cSubs{Sub:map[string]*gcfg.cSubsS1{"A\"":(*gcfg.cSubsS1)(0xc0001cefc0)}} TestReadStringInto: read_test.go:319: syntax:0 pass: got error 3:1: expected section header or variable declaration TestReadStringInto: read_test.go:319: syntax:1 pass: got error 1:1: expected section header TestReadStringInto: read_test.go:319: syntax:2 pass: got error 2:2: expected section name TestReadStringInto: read_test.go:319: syntax:3 pass: got error 2:6: empty subsection name TestReadStringInto: read_test.go:311: setting:0 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: setting:1 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: setting:2 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(0xc0001cfa90)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: setting:3 pass: got value &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)}, M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)}, M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}} TestReadStringInto: read_test.go:311: setting:4 pass: got value &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)}, M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)}, M3:gcfg.cMultiS3{PMulti:(*[]string)(0xc000193d80)}} TestReadStringInto: read_test.go:311: setting:5 pass: got value &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)}, M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)}, M3:gcfg.cMultiS3{PMulti:(*[]string)(0xc000193ec0)}} TestReadStringInto: read_test.go:311: setting:6 pass: got value &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)}, M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)}, M3:gcfg.cMultiS3{PMulti:(*[]string)(0xc0001ea000)}} TestReadStringInto: read_test.go:319: setting:7 pass: got error warnings: can't store data at section "nonexistent" can't store data at section "nonexistent" can't store data at section "nonexistent" can't store data at section "nonexistent" TestReadStringInto: read_test.go:319: setting:8 pass: got error warnings: can't store data at section "section", subsection "nonexistent" can't store data at section "section", subsection "nonexistent" TestReadStringInto: read_test.go:319: setting:9 pass: got error warning: can't store data at section "section", variable "nonexistent" TestReadStringInto: read_test.go:311: setting:10 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:"value"}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:319: setting:11 pass: got error warnings: can't store data at section "unexported" can't store data at section "unexported" can't store data at section "unexported" can't store data at section "unexported" TestReadStringInto: read_test.go:319: setting:12 pass: got error warning: can't store data at section "exported", variable "unexported" TestReadStringInto: read_test.go:311: setting:13 pass: got value &gcfg.cUni{X甲:gcfg.cUniS1{X乙:"丙"}, XSection:gcfg.cUniS2{XName:""}} TestReadStringInto: read_test.go:311: setting:14 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: setting:15 pass: got value &gcfg.cSubs{Sub:map[string]*gcfg.cSubsS1{"A":(*gcfg.cSubsS1)(0xc0001e7b30), "B":(*gcfg.cSubsS1)(0xc0001e7ba0)}} TestReadStringInto: read_test.go:311: multivalue:0 pass: got value &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)}, M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)}, M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}} TestReadStringInto: read_test.go:311: multivalue:1 pass: got value &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string{"value"}}, M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)}, M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}} TestReadStringInto: read_test.go:311: multivalue:2 pass: got value &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string{"value1", "value2"}}, M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)}, M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}} TestReadStringInto: read_test.go:311: multivalue:3 pass: got value &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string{"value1", "value2"}}, M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)}, M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}} TestReadStringInto: read_test.go:311: multivalue:4 pass: got value &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string(nil)}, M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)}, M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}} TestReadStringInto: read_test.go:319: multivalue:5 pass: got error warning: can't store data at section "m2", variable "multi" TestReadStringInto: read_test.go:319: multivalue:6 pass: got error warnings: can't store data at section "m2", variable "multi" can't store data at section "m2", variable "multi" TestReadStringInto: read_test.go:311: type:string:0 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"value", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: type:string:1 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: type:bool:0 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}} TestReadStringInto: read_test.go:311: type:bool:1 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}} TestReadStringInto: read_test.go:311: type:bool:2 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}} TestReadStringInto: read_test.go:311: type:bool:3 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}} TestReadStringInto: read_test.go:311: type:bool:4 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}} TestReadStringInto: read_test.go:311: type:bool:5 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:false}} TestReadStringInto: read_test.go:311: type:bool:6 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:false}} TestReadStringInto: read_test.go:311: type:bool:7 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:false}} TestReadStringInto: read_test.go:311: type:bool:8 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:false}} TestReadStringInto: read_test.go:311: type:bool:9 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:false}} TestReadStringInto: read_test.go:311: type:bool:10 pass: got value &gcfg.cBool{Section:gcfg.cBoolS1{Bool:true}} TestReadStringInto: read_test.go:319: type:bool:11 pass: got error failed to parse bool `maybe` TestReadStringInto: read_test.go:319: type:bool:12 pass: got error failed to parse bool `t` TestReadStringInto: read_test.go:319: type:bool:13 pass: got error failed to parse bool `truer` TestReadStringInto: read_test.go:319: type:bool:14 pass: got error failed to parse bool `2` TestReadStringInto: read_test.go:319: type:bool:15 pass: got error failed to parse bool `-1` TestReadStringInto: read_test.go:311: type:numeric:0 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: type:numeric:1 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:1, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:311: type:numeric:2 pass: got value &gcfg.cBasic{Section:gcfg.cBasicS1{Name:"", Int:-1, PName:(*string)(nil)}, Hyphen_In_Section:gcfg.cBasicS2{Hyphen_In_Name:""}, unexported:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}, Exported:gcfg.cBasicS3{unexported:""}, TagName:gcfg.cBasicS1{Name:"", Int:0, PName:(*string)(nil)}} TestReadStringInto: read_test.go:319: type:numeric:3 pass: got error failed to parse "0.2" as int: extra characters ".2" TestReadStringInto: read_test.go:319: type:numeric:4 pass: got error failed to parse "1e3" as int: extra characters "e3" TestReadStringInto: read_test.go:311: type:numeric:5 pass: got value &gcfg.cNum{N1:gcfg.cNumS1{Int:10, IntDHO:0, Big:}, N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)}, N3:gcfg.cNumS3{FileMode:0x0}} TestReadStringInto: read_test.go:311: type:numeric:6 pass: got value &gcfg.cNum{N1:gcfg.cNumS1{Int:16, IntDHO:0, Big:}, N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)}, N3:gcfg.cNumS3{FileMode:0x0}} TestReadStringInto: read_test.go:311: type:numeric:7 pass: got value &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:1}, N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)}, N3:gcfg.cNumS3{FileMode:0x0}} TestReadStringInto: read_test.go:311: type:numeric:8 pass: got value &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:16}, N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)}, N3:gcfg.cNumS3{FileMode:0x0}} TestReadStringInto: read_test.go:311: type:numeric:9 pass: got value &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:10}, N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)}, N3:gcfg.cNumS3{FileMode:0x0}} TestReadStringInto: read_test.go:311: type:numeric:10 pass: got value &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:}, N2:gcfg.cNumS2{MultiInt:[]int{10}, MultiBig:[]*big.Int(nil)}, N3:gcfg.cNumS3{FileMode:0x0}} TestReadStringInto: read_test.go:311: type:numeric:11 pass: got value &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:}, N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int{10}}, N3:gcfg.cNumS3{FileMode:0x0}} TestReadStringInto: read_test.go:311: type:numeric:12 pass: got value &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:8, Big:}, N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)}, N3:gcfg.cNumS3{FileMode:0x0}} TestReadStringInto: read_test.go:311: type:numeric:13 pass: got value &gcfg.cNum{N1:gcfg.cNumS1{Int:0, IntDHO:0, Big:}, N2:gcfg.cNumS2{MultiInt:[]int(nil), MultiBig:[]*big.Int(nil)}, N3:gcfg.cNumS3{FileMode:0x1ff}} TestReadStringInto: read_test.go:311: type:textUnmarshaler:0 pass: got value &gcfg.cTxUnm{Section:gcfg.cTxUnmS1{Name:"value"}} TestReadStringInto: read_test.go:319: type:textUnmarshaler:1 pass: got error error --- PASS: TestReadStringInto (0.01s) === RUN TestReadStringIntoMultiBlankPreset TestReadStringIntoMultiBlankPreset: read_test.go:311: multi:blank pass: got value &gcfg.cMulti{M1:gcfg.cMultiS1{Multi:[]string{"value1", "value2"}}, M2:gcfg.cMultiS2{NonMulti:gcfg.nonMulti(nil)}, M3:gcfg.cMultiS3{PMulti:(*[]string)(nil)}} --- PASS: TestReadStringIntoMultiBlankPreset (0.00s) === RUN TestReadFileInto --- PASS: TestReadFileInto (0.00s) === RUN TestReadFileIntoUnicode --- PASS: TestReadFileIntoUnicode (0.00s) === RUN TestReadStringIntoSubsectDefaults --- PASS: TestReadStringIntoSubsectDefaults (0.00s) === RUN TestReadStringIntoExtraData --- PASS: TestReadStringIntoExtraData (0.00s) === RUN TestReadWithCallback --- PASS: TestReadWithCallback (0.00s) === RUN TestReadWithCallback_WithError --- PASS: TestReadWithCallback_WithError (0.00s) === RUN ExampleReadStringInto --- PASS: ExampleReadStringInto (0.00s) === RUN ExampleReadStringInto_bool --- PASS: ExampleReadStringInto_bool (0.00s) === RUN ExampleReadStringInto_hyphens --- PASS: ExampleReadStringInto_hyphens (0.00s) === RUN ExampleReadStringInto_tags --- PASS: ExampleReadStringInto_tags (0.00s) === RUN ExampleReadStringInto_subsections --- PASS: ExampleReadStringInto_subsections (0.00s) === RUN ExampleReadStringInto_multivalue --- PASS: ExampleReadStringInto_multivalue (0.00s) === RUN ExampleReadStringInto_unicode --- PASS: ExampleReadStringInto_unicode (0.00s) PASS ok github.com/src-d/gcfg 0.013s === RUN TestScan --- PASS: TestScan (0.00s) === RUN TestScanValStringEOF --- PASS: TestScanValStringEOF (0.00s) === RUN TestInit --- PASS: TestInit (0.00s) === RUN TestStdErrorHandler --- PASS: TestStdErrorHandler (0.00s) === RUN TestScanErrors --- PASS: TestScanErrors (0.00s) === RUN ExampleScanner_Scan --- PASS: ExampleScanner_Scan (0.00s) PASS ok github.com/src-d/gcfg/scanner 0.088s === RUN TestNoPos --- PASS: TestNoPos (0.00s) === RUN TestPositions --- PASS: TestPositions (0.01s) === RUN TestLineInfo --- PASS: TestLineInfo (0.00s) === RUN TestFiles --- PASS: TestFiles (0.00s) === RUN TestSerialization --- PASS: TestSerialization (0.00s) PASS ok github.com/src-d/gcfg/token 0.018s === RUN TestEnumParserBool TestEnumParserBool: enum_test.go:26: "tRuE": got true, TestEnumParserBool: enum_test.go:26: "False": got false, TestEnumParserBool: enum_test.go:26: "t": got false, failed to parse bool `t` --- PASS: TestEnumParserBool (0.00s) === RUN TestParseInt TestParseInt: int_test.go:63: ParseInt(int, "0", IntMode(Dec)): pass; got 0, error TestParseInt: int_test.go:63: ParseInt(int, "10", IntMode(Dec)): pass; got 10, error TestParseInt: int_test.go:63: ParseInt(int, "-10", IntMode(Dec)): pass; got -10, error TestParseInt: int_test.go:63: ParseInt(int, "x", IntMode(Dec)): pass; got 0, error failed to parse "x" as int: expected integer TestParseInt: int_test.go:63: ParseInt(int, "0xa", IntMode(Hex)): pass; got 10, error TestParseInt: int_test.go:63: ParseInt(int, "a", IntMode(Hex)): pass; got 10, error TestParseInt: int_test.go:63: ParseInt(int, "10", IntMode(Hex)): pass; got 16, error TestParseInt: int_test.go:63: ParseInt(int, "-0xa", IntMode(Hex)): pass; got -10, error TestParseInt: int_test.go:63: ParseInt(int, "0x", IntMode(Hex)): pass; got 0, error failed to parse "0x" as int: strconv.ParseInt: parsing "0x": invalid syntax TestParseInt: int_test.go:63: ParseInt(int, "-0x", IntMode(Hex)): pass; got 0, error failed to parse "-0x" as int: strconv.ParseInt: parsing "-0x": invalid syntax TestParseInt: int_test.go:63: ParseInt(int, "-a", IntMode(Hex)): pass; got -10, error TestParseInt: int_test.go:63: ParseInt(int, "-10", IntMode(Hex)): pass; got -16, error TestParseInt: int_test.go:63: ParseInt(int, "x", IntMode(Hex)): pass; got 0, error failed to parse "x" as int: expected integer TestParseInt: int_test.go:63: ParseInt(int, "10", IntMode(Oct)): pass; got 8, error TestParseInt: int_test.go:63: ParseInt(int, "010", IntMode(Oct)): pass; got 8, error TestParseInt: int_test.go:63: ParseInt(int, "-10", IntMode(Oct)): pass; got -8, error TestParseInt: int_test.go:63: ParseInt(int, "-010", IntMode(Oct)): pass; got -8, error TestParseInt: int_test.go:63: ParseInt(int, "10", IntMode(Dec|Hex)): pass; got 10, error TestParseInt: int_test.go:63: ParseInt(int, "010", IntMode(Dec|Hex)): pass; got 10, error TestParseInt: int_test.go:63: ParseInt(int, "0x10", IntMode(Dec|Hex)): pass; got 16, error TestParseInt: int_test.go:63: ParseInt(int, "10", IntMode(Dec|Oct)): pass; got 10, error TestParseInt: int_test.go:63: ParseInt(int, "010", IntMode(Dec|Oct)): pass; got 8, error TestParseInt: int_test.go:63: ParseInt(int, "0x10", IntMode(Dec|Oct)): pass; got 0, error failed to parse "0x10" as int: extra characters "x10" TestParseInt: int_test.go:63: ParseInt(int, "10", IntMode(Hex|Oct)): pass; got 0, error ambiguous integer value; must include '0' prefix TestParseInt: int_test.go:63: ParseInt(int, "010", IntMode(Hex|Oct)): pass; got 8, error TestParseInt: int_test.go:63: ParseInt(int, "0x10", IntMode(Hex|Oct)): pass; got 16, error TestParseInt: int_test.go:63: ParseInt(int, "10", IntMode(Dec|Hex|Oct)): pass; got 10, error TestParseInt: int_test.go:63: ParseInt(int, "010", IntMode(Dec|Hex|Oct)): pass; got 8, error TestParseInt: int_test.go:63: ParseInt(int, "0x10", IntMode(Dec|Hex|Oct)): pass; got 16, error --- PASS: TestParseInt (0.00s) === RUN TestScanFully TestScanFully: scan_test.go:32: ScanFully(*int, "a", 'v') = failed to parse "a" as int: expected integer; *ptr==0 TestScanFully: scan_test.go:32: ScanFully(*int, "0x", 'v') = failed to parse "0x" as int: strconv.ParseInt: parsing "0x": invalid syntax; *ptr==0 TestScanFully: scan_test.go:32: ScanFully(*int, "0x", 'd') = failed to parse "0x" as int: extra characters "x"; *ptr==0 --- PASS: TestScanFully (0.00s) PASS ok github.com/src-d/gcfg/types 0.084s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-indep dh binary-indep --buildsystem=golang --with=golang dh_testroot -i -O--buildsystem=golang dh_prep -i -O--buildsystem=golang dh_auto_install -i -O--buildsystem=golang dh_installdocs -i -O--buildsystem=golang dh_installchangelogs -i -O--buildsystem=golang dh_installinit -i -O--buildsystem=golang dh_installsystemduser -i -O--buildsystem=golang dh_perl -i -O--buildsystem=golang dh_link -i -O--buildsystem=golang dh_strip_nondeterminism -i -O--buildsystem=golang dh_compress -i -O--buildsystem=golang dh_fixperms -i -O--buildsystem=golang dh_missing -i -O--buildsystem=golang dh_installdeb -i -O--buildsystem=golang dh_golang -i -O--buildsystem=golang Use of uninitialized value $caller in string eq at /usr/share/perl5/Debian/Debhelper/Buildsystem/golang.pm line 567. dh_gencontrol -i -O--buildsystem=golang dh_md5sums -i -O--buildsystem=golang dh_builddeb -i -O--buildsystem=golang dpkg-deb: building package 'golang-github-src-d-gcfg-dev' in '../golang-github-src-d-gcfg-dev_1.4.0-2_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../golang-github-src-d-gcfg_1.4.0-2_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/golang-github-src-d-gcfg-0TlOjl /tmp/golang-github-src-d-gcfg-1.4.0-2cpxa3ixa I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.V_DZ2RmAQb... I: success in 353.3694 seconds md5: golang-github-src-d-gcfg-dev_1.4.0-2_all.deb: OK sha1: golang-github-src-d-gcfg-dev_1.4.0-2_all.deb: OK sha256: golang-github-src-d-gcfg-dev_1.4.0-2_all.deb: OK Checksums: OK