[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enable adb port in tramp adb
From: |
Michael Albinus |
Subject: |
Re: Enable adb port in tramp adb |
Date: |
Tue, 28 Oct 2014 16:47:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Ashi <address@hidden> writes:
> Hi, Michael,
Hi Zhongwei,
> I've found the reason causes the tramp-test22-file-times failed.
>
> I evaluate "(set-file-times
> "/adb:10.164.2.12#5555:data/local/tramp_testdir/tramp-test12242_Hq" '
> (0 1))", and it returns "t".
What's the time stamp then of that file on your Android? Check it with
adb itself, not with tramp-adb.
> But "(file-attributes
> "/adb:10.164.2.12#5555:data/local/tramp_testdir/tramp-test12242_Hq")"
> returns: (nil 1 0 0 (0 0) (-948638 13211) (0 0) 3 "-rw-rw-rw-" t 1 (-1
> . 6)) which causes "(should (equal (nth 5 (file-attributes tmp-name1))
> '(0 1)))" failed. And I've checked that "adb shell" has no perl(1) or
> stat (1). I think there is some problem in "set-file-times".
'(0 0) means by convention "don't know". There's already some code in
`tramp-test22-file-times' which ought to handle this. Maybe you can
steal some ideas from there?
> Best regards,
> Zhongwei
Best regards, Michael.
- Re: Enable adb port in tramp adb, Michael Albinus, 2014/10/12
- Re: Enable adb port in tramp adb, Ashi, 2014/10/20
- Re: Enable adb port in tramp adb, Michael Albinus, 2014/10/21
- Re: Enable adb port in tramp adb, Ashi, 2014/10/21
- Re: Enable adb port in tramp adb, Ashi, 2014/10/24
- Re: Enable adb port in tramp adb, Michael Albinus, 2014/10/24
- Re: Enable adb port in tramp adb, Ashi, 2014/10/24
- Re: Enable adb port in tramp adb, Michael Albinus, 2014/10/25
- Re: Enable adb port in tramp adb, Ashi, 2014/10/27
- Re: Enable adb port in tramp adb,
Michael Albinus <=
- Re: Enable adb port in tramp adb, Ashi, 2014/10/31
- Re: Enable adb port in tramp adb, Michael Albinus, 2014/10/31