Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #908897
| From | Sean Whitton <spwhitton@spwhitton.name> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#904308: test suite: git invokes $EDITOR/$VISUAL/sensible-editor |
| Date | 2018-07-23 08:40 +0200 |
| Message-ID | <weCFI-4fs-15@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Source: dgit
Version: 5.10
When the test suite runs the user's configured editor can be invoked.
This can pop up new X windows and sometimes tests will fail. Sometimes
it is git that is invoking the editor:
+ git commit
Waiting for Emacs...*ERROR*: Quit
error: There was a problem with the editor 'emacsclient -amg -c'.
Please supply the message using either -m or -F option.
+ test 1 = 0
+ t-report-failure
+ set +x
TEST FAILED
cwd: /home/spwhitton/src/dgit/tests/tmp/overwrite-chkclog/example
funcs: t-report-failure main
lines: 1 0
files: tests/lib tests/tests/overwrite-chkclog
And sometimes, it seems, dpkg-source (following output was with
EDITOR=nano VISUAL=nano):
+ pname=gitattrs
+ cat
+ EDITOR='perl -pi /home/spwhitton/src/dgit/tests/tmp/gitattributes/editor.pl'
+ dpkg-source -iX --commit . gitattrs
dpkg-source: info: local changes detected, the modified files are:
example.quilt-edit/.gitattributes
.[?1049h.[1;24r.[m.[4l.[?7h.[?1h.=.[?1h.=.[?1h.=.[39;49m.[?25l.[39;49m.[m.[H.[2J.[22;33H.[0;7m[ Reading File ].[m.[22;32H.[0;7m[ Read 182 lines ].[m.[H.[39;49m.[0;7m GNU nano 2.7.4 File: example.quilt-edit/debian/patches/gitattrs .[3;1H.[mDescription: <short summary of the patch>.[4d TODO: Put a short summary on the line above and replace this paragraph.[5d with a longer explanation of this change. Complete the meta-information.[6d with other relevant fields (see below for details). To make it easier, the.[7d information below has been extracted from the changelog. Adjust it or drop.[8d it..[9d ..[10dexample (1.0-1) UNRELEASED; urgency=medium.[11d ..[12d * convert.[13dAuthor: Ian Jackson <ijackson@chiark.greenend.org.uk>.[15d---.[16dThe information above should follow the Patch Tagging Guidelines, please.[17dcheckout http://dep.debian.net/deps/dep3/ to learn about the format. Here.[18dare templates for supplementary fields that you might want to add:.[20dOrigin: <vendor|upstream|other>, <url of original patch>.[21dBug: <url in upstream bugtracker>.[23d.[0;7m^G.[m Get Help .[0;7m^O.[m Write Out .[0;7m^W.[m Where Is .[0;7m^K.[m Cut Text .[0;7m^J.[m Justify .[0;7m^C.[m Cur Pos.[24d.[0;7m^X.[m Exit.[14G.[0;7m^R.[m Read File .[0;7m^\.[m Replace .[0;7m^U.[m Uncut Text.[0;7m^T.[m To Spell .[0;7m^_.[m Go To Line.[22d.[?12l.[?25h.[3d.[24;1H.[?1049l.[?1l.>Received SIGHUP or SIGTERM
dpkg-source: error: sensible-editor gave error exit status 1
+ test 2 = 0
+ t-report-failure
+ set +x
TEST FAILED
cwd: /home/spwhitton/src/dgit/tests/tmp/gitattributes/example.quilt-edit
funcs: t-report-failure quilt_addpatch sfmt_setup main
lines: 1 105 241 0
files: tests/lib tests/tests/gitattributes tests/tests/gitattributes tests/tests/gitattributes
It's pretty annoying to have new emacs frames popping up / the buffer
you are looking at switching to some temporary test suite file.
--
Sean Whitton
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#904308: test suite: git invokes $EDITOR/$VISUAL/sensible-editor Sean Whitton <spwhitton@spwhitton.name> - 2018-07-23 08:40 +0200
Bug#904308: test suite: git invokes $EDITOR/$VISUAL/sensible-editor Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-07-23 11:40 +0200
Bug#904308: test suite: git invokes $EDITOR/$VISUAL/sensible-editor Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-07-23 11:40 +0200
Bug#904308: [PATCH] test suite: unset VISUAL, which interferes. Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-07-23 11:50 +0200
Bug#904308: [PATCH] test suite: unset VISUAL, which interferes. Sean Whitton <spwhitton@spwhitton.name> - 2018-07-24 05:10 +0200
Bug#904308: [PATCH] test suite: unset EDITOR, which interferes. Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-07-23 11:50 +0200
csiph-web