]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: fix timezone for cramfs
authorMilan Broz <mbroz@redhat.com>
Fri, 5 Oct 2012 16:37:38 +0000 (18:37 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Oct 2012 10:12:48 +0000 (12:12 +0200)
cramfs test need explicitly set timezone otherwise
ls diff fails with
   cramfs: mkfs checksums ... FAILED (cramfs/mkfs)

Signed-off-by: Milan Broz <mbroz@redhat.com>
tests/ts/cramfs/mkfs

index db9b08ceb2398a6027fcde9fb733f06f41b6c73a..99d682fb8ec028c2546bd06470c03de84dc15e9e 100755 (executable)
@@ -79,6 +79,7 @@ ts_is_mounted $DEVICE || ts_die "Cannot find $DEVICE in /proc/mounts" $DEVICE
 cd $TS_MOUNTPOINT
 
 ts_log "list the image"
+TZ='GMT-1'
 ls -laR --time-style=long-iso . >> $TS_OUTPUT
 echo >> $TS_OUTPUT