[PATCH 1/3] tests: fix timezone for cramfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cramfs test need explicitly set timezone otherwise
ls diff fails with
   cramfs: mkfs checksums ... FAILED (cramfs/mkfs)

Signed-off-by: Milan Broz <mbroz@xxxxxxxxxx>
---
 tests/ts/cramfs/mkfs |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/ts/cramfs/mkfs b/tests/ts/cramfs/mkfs
index db9b08c..99d682f 100755
--- a/tests/ts/cramfs/mkfs
+++ b/tests/ts/cramfs/mkfs
@@ -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
 
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux