aboutsummaryrefslogtreecommitdiff
path: root/testsuite/tar
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-08-04 14:40:58 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-08-04 14:40:58 +0000
commit5db861a9eb93c4562798654f53022088784f35eb (patch)
tree60572a6fe1df5b7079482ec4490fca559c58fbd2 /testsuite/tar
parent27842288b393e532e5693f2a2bab94fee73a326d (diff)
downloadbusybox-5db861a9eb93c4562798654f53022088784f35eb.tar.gz
fix some testsuite false positives
Diffstat (limited to 'testsuite/tar')
-rw-r--r--testsuite/tar/tar_with_link_with_size2
-rw-r--r--testsuite/tar/tar_with_prefix_fields2
2 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tar/tar_with_link_with_size b/testsuite/tar/tar_with_link_with_size
index 40454f21c..5b61cc70b 100644
--- a/testsuite/tar/tar_with_link_with_size
+++ b/testsuite/tar/tar_with_link_with_size
@@ -23,5 +23,7 @@ res1="\
lrwxrwxrwx user/group 0 2008-07-19 15:02:37 firmware-372/sources/native/bin/chroot-setup.sh -> qemu-setup.sh
-rwxr-xr-x user/group 512 2008-07-19 15:02:37 firmware-372/sources/native/bin/qemu-setup.sh"
+export TZ=UTC-2
+
t=`tar1_bz2 | bunzip2 | busybox tar tvf -`
test x"$res1" = x"$t"
diff --git a/testsuite/tar/tar_with_prefix_fields b/testsuite/tar/tar_with_prefix_fields
index fbc35ab15..1c7124d52 100644
--- a/testsuite/tar/tar_with_prefix_fields
+++ b/testsuite/tar/tar_with_prefix_fields
@@ -244,6 +244,8 @@ tar2_bz2()
# also lacking proper terminating zeroed blocks. But exitcode is 0.
# This is intended.
+export TZ=UTC-1
+
# Case 1: long name, with path in prefix field
res1='-rw-r--r-- fm3/users 9869 2007-03-12 10:44:54 VirtualBox-1.5.6_OSE/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/public/ipcITransactionService.idl'
t=`tar1_bz2 | bunzip2 | busybox tar tvf -`