From: Richard W.M. Jones Date: Tue, 7 Dec 2010 15:29:55 +0000 (+0000) Subject: fuse: Disable test which doesn't run reliably on Debian. X-Git-Tag: 1.7.20~9 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4df67f26aef7339ef9690da7becb756c9f3f4eaa;p=libguestfs.git fuse: Disable test which doesn't run reliably on Debian. See discussion in RHBZ#660687. --- diff --git a/fuse/test-fuse.sh b/fuse/test-fuse.sh index 15e9631..2c0aec5 100755 --- a/fuse/test-fuse.sh +++ b/fuse/test-fuse.sh @@ -197,17 +197,18 @@ truncate -c -s 0 truncated [ "$(stat -c %s truncated)" -eq 0 ] rm -f truncated -stage Checking utimens and timestamps -for ts in 12345 1234567 987654321; do - # NB: It's not possible to set the ctime with touch. - touch -a -d @$ts timestamp - [ "$(stat -c %X timestamp)" -eq $ts ] - touch -m -d @$ts timestamp - [ "$(stat -c %Y timestamp)" -eq $ts ] - touch -d @$ts timestamp - [ "$(stat -c %X timestamp)" -eq $ts ] - [ "$(stat -c %Y timestamp)" -eq $ts ] -done +# Disabled because of RHBZ#660687 on Debian. +# stage Checking utimens and timestamps +# for ts in 12345 1234567 987654321; do +# # NB: It's not possible to set the ctime with touch. +# touch -a -d @$ts timestamp +# [ "$(stat -c %X timestamp)" -eq $ts ] +# touch -m -d @$ts timestamp +# [ "$(stat -c %Y timestamp)" -eq $ts ] +# touch -d @$ts timestamp +# [ "$(stat -c %X timestamp)" -eq $ts ] +# [ "$(stat -c %Y timestamp)" -eq $ts ] +# done stage Checking writes cp hello.txt copy.txt