GNU bug report logs -
#30595
[PATCH] Handle command line wrapping in Tramp adb.
Previous Next
Reported by: Mathieu Othacehe <m.othacehe <at> gmail.com>
Date: Sat, 24 Feb 2018 18:08:02 UTC
Severity: normal
Tags: moreinfo, patch, wontfix
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Mathieu Othacehe <m.othacehe <at> gmail.com> writes:
Hi Mathieu,
> The command sent to an adb shell input might be wrapped around
> terminal column count by the kernel. Remove CR and LF introduced when
> it happends.
Your patch doesn't pass Tramp's test suite, using my plain Galaxy S6. It
fails in tramp-test09-insert-file-contents. Could you, pls, check?
In order to run the test suite in Tramp's git repository, apply
$ env REMOTE_TEMPORARY_FILE_DIRECTORY=/adb::/sdcard/tmp make check
If you use Emacs' git repository instead, apply
$ env REMOTE_TEMPORARY_FILE_DIRECTORY=/adb::/sdcard/tmp \
make check -C test tramp-tests
(You might use another temporary directory on your device.)
Pls sync first with the git repository; I've pushed a patch earlier
today fixing another nasty (unrelated) bug which let Tramp fail in test.
Btw, your other patch wrt bug#30594 runs OK with the tests.
Best regards, Michael.
This bug report was last modified 7 years and 47 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.