[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new snapshot available: coreutils-8.24.161-1204d
From: |
Assaf Gordon |
Subject: |
Re: new snapshot available: coreutils-8.24.161-1204d |
Date: |
Mon, 18 Jan 2016 15:31:42 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
On 01/18/2016 02:27 PM, Pádraig Brady wrote:
On 18/01/16 18:18, Assaf Gordon wrote:
FAIL: tests/cp/preserve-slink-time
-2016-01-18 12:21:28.294123000 -0500
+2016-01-18 12:21:28.296528000 -0500
cp -Pp didn't seem to preserve the timestamp on GPFS.
I'd need access to the system to see why.
I'd test with touch -d '...' to see if the timestamp was honored
Seems to be working when I try it manually:
===
$ ln -s nosuch dangle
$ ./src/stat --format=%y dangle
2016-01-18 15:12:19.978310000 -0500
$ ./src/cp -Pp dangle foo
$ ./src/stat --format=%y dangle foo
2016-01-18 15:12:19.978310000 -0500
2016-01-18 15:12:19.978310000 -0500
===
$ rm -f a b
$ touch a ; sleep 1 ; ./src/cp -Pp a b
$ stat --format=%y a b
2016-01-18 14:56:22.068737000 -0500
2016-01-18 14:56:22.068737000 -0500
===
$ strace ./src/touch -d '2013-12-11 10:09:08.777777' d
...
utimensat(0, NULL, [{1386774548, 777777000}, {1386774548, 777777000}], 0) = 0
...
$ stat --format=%y d
2013-12-11 10:09:08.777777000 -0500
===
So I added 'strace' to the "cp" execution inside the test, and also when used
manually, they seem similar (both attached).
I can check more things if you have suggestions.
regards,
- assaf
manual-cp.strace.log
Description: Text Data
test-cp.strace.log
Description: Text Data
- Re: new snapshot available: coreutils-8.24.150-4ab87, (continued)
- Re: new snapshot available: coreutils-8.24.150-4ab87, Pádraig Brady, 2016/01/16
- Re: new snapshot available: coreutils-8.24.161-1204d, Pádraig Brady, 2016/01/18
- Re: new snapshot available: coreutils-8.24.161-1204d, Assaf Gordon, 2016/01/18
- Re: new snapshot available: coreutils-8.24.161-1204d, Pádraig Brady, 2016/01/18
- Re: new snapshot available: coreutils-8.24.161-1204d,
Assaf Gordon <=
- Re: new snapshot available: coreutils-8.24.161-1204d, Assaf Gordon, 2016/01/18
- Re: new snapshot available: coreutils-8.24.161-1204d, Assaf Gordon, 2016/01/18
- Re: new snapshot available: coreutils-8.24.161-1204d, Pádraig Brady, 2016/01/18
- Re: new snapshot available: coreutils-8.24.161-1204d, Pádraig Brady, 2016/01/19
- Re: new snapshot available: coreutils-8.24.161-1204d, Assaf Gordon, 2016/01/19
- Re: new snapshot available: coreutils-8.24.161-1204d, Pádraig Brady, 2016/01/19
- Re: new snapshot available: coreutils-8.24.161-1204d, Bernhard Voelker, 2016/01/20