[darcs-devel] [patch2063] add a test for gng signed send/apply

Ganesh Sittampalam bugs at darcs.net
Mon Jul 27 10:48:54 UTC 2020


Ganesh Sittampalam <ganesh at earth.li> added the comment:

fails - see attached. I haven't had a chance to investigate at all.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch2063>
__________________________________
-------------- next part --------------
send_apply_signed (Darcs2) (PatienceDiff): [Failed]
|
| gpg --version >/dev/null || exit 200
| + gpg --version
|
| if ! test -d gpghome; then
|   tar xf $TESTDATA/gpghome.tar.gz
| fi
| + test -d gpghome
| + tar xf /home/ganesh/darcs/screened/tests/data/gpghome.tar.gz
|
| export DARCS_TEST_GPG_OPTIONS="--homedir $(pwd)/gpghome"
| ++ pwd
| ++ ghc --make -o hspwd /home/ganesh/darcs/screened/tests/bin/hspwd.hs
| ++ ./hspwd
| + export 'DARCS_TEST_GPG_OPTIONS=--homedir C:\Users\Ganesh\AppData\Local\Temp\tmpC31E/gpghome'
| + DARCS_TEST_GPG_OPTIONS='--homedir C:\Users\Ganesh\AppData\Local\Temp\tmpC31E/gpghome'
|
| rm -rf R S
| + rm -rf R S
| darcs init R
| + darcs init R
| darcs clone R S
| + darcs clone R S
| Copying patches, to get lazy repository hit ctrl-C...
| cd S
| + cd S
| cat <<EOF >file
| line1
|
| line3
|
|
| line6
| EOF
| + cat
| darcs record -la file -m 'patch1'
| + darcs record -la file -m patch1
| cat <<EOF >file
| line1
|
| line6
|
| xxxx
| EOF
| + cat
| darcs record -a file -m 'patch2'
| + darcs record -a file -m patch2
| darcs send -a --sign-as tester -o ../bundle.dpatch --debug
| + darcs send -a --sign-as tester -o ../bundle.dpatch --debug
| Beginning identifying repository .
| Done identifying repository .
| Identified darcs-2 repo: C:/Users/Ganesh/AppData/Local/Temp/tmpC31E/S
| Beginning identifying repository c:/users/ganesh/appdata/local/temp/tmpc31e/r
| Done identifying repository c:/users/ganesh/appdata/local/temp/tmpc31e/r
| withNamedTemp: "_darcs/prefs/repos"
| readDarcsHashedDir: _darcs/pristine.hashed 757b6b325888794159da0cc9417827f79a582ae50deefc655ed0f915023d12ba
| setEnvDarcsPatches:
| Reading patch file: patch f095f42f32c848511a4ea7e25b877a3e23e9b8a6
| Author: tester
| Date:   Mon Jul 27 11:56:42 GMT Summer Time 2020
|   * patch1
| I'm doing copyFileUsingCache on patches/0000000183-b4cbf5012c6c2a5b12a762559655677cf871316f795d7c4435251867a59eed86
| About to gzFetchFilePS from "C:/Users/Ganesh/AppData/Local/Temp/tmpC31E/S/_darcs/patches/0000000183-b4cbf5012c6c2a5b12a762559655677cf871316f795d7c4435251867a59eed86"
| gzFetchFilePS done.
| ./file
| Reading patch file: patch 59e981ba7e919e83637e7e262f3e215fbec9c766
| Author: tester
| Date:   Mon Jul 27 11:56:43 GMT Summer Time 2020
|   * patch2
| I'm doing copyFileUsingCache on patches/0000000173-2b532fd001337905408e14f863ab157c5c3e823ed326fe195cf514aa993ef7a1
| About to gzFetchFilePS from "C:/Users/Ganesh/AppData/Local/Temp/tmpC31E/S/_darcs/patches/0000000173-2b532fd001337905408e14f863ab157c5c3e823ed326fe195cf514aa993ef7a1"
| gzFetchFilePS done.
|
| Beginning defining set of chosen patches
| Done defining set of chosen patches
| Disabling progress reports...
| gpg: keyblock resource '/c/Users/Ganesh/AppData/Local/Temp/tmpC31E/S/C:\Users\Ganesh\AppData\Local\Temp\tmpC31E/gpghome/pubring.kbx': No such file or directory
| gpg: skipped "tester": No secret key
| gpg: [stdin]: clear-sign failed: No secret key
| Reenabling progress reports.
| External program 'gpg' failed with exit code 2


         Shell       Total
 Passed  0           0
 Failed  1           1
 Total   1           1


More information about the darcs-devel mailing list