]> arthur.barton.de Git - bup.git/commit
test-ls.sh: handle Cygwin's coupling of timestamp/permission modifications.
authorPatryck Rouleau <prouleau72@gmail.com>
Sun, 30 Mar 2014 15:04:49 +0000 (11:04 -0400)
committerRob Browning <rlb@defaultvalue.org>
Sun, 27 Apr 2014 16:14:04 +0000 (11:14 -0500)
commit002e80a77acd85254fc6ea0dc08f834d93598d13
tree0b7ed058a4644b4a7c7c9b500230111cf22bac70
parent88efe14012f3bff2e7a9a248926ddcfc6f39458b
test-ls.sh: handle Cygwin's coupling of timestamp/permission modifications.

In Cygwin, the file's modification date is updated when its
permissions are modified. To make the tests compatible with Cygwin,
create the files first, set their permissions, then set the date.

Signed-off-by: Patrick Rouleau <prouleau72@gmail.com>
[rlb@defaultvalue.org: adjust commit message.]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
t/test-ls.sh