diff options
author | Timo Teräs <timo.teras@iki.fi> | 2019-06-05 10:09:03 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2019-06-05 10:10:17 +0300 |
commit | 4494d5450feb753a0a22c7d081574c4696019db4 (patch) | |
tree | 8e2074d4b0faab3e63ab9cf5aa62eff7b3bc148c | |
parent | 366d0ee371ac6fc00617324c122e058dc8e5bea3 (diff) | |
download | apk-tools-4494d5450feb753a0a22c7d081574c4696019db4.tar.gz apk-tools-4494d5450feb753a0a22c7d081574c4696019db4.tar.bz2 apk-tools-4494d5450feb753a0a22c7d081574c4696019db4.tar.xz apk-tools-4494d5450feb753a0a22c7d081574c4696019db4.zip |
reset TZ when running solver tests as some output has local time
Fixes commits 37fbafcd and 1c47f374.
-rw-r--r-- | test/basic8.test | 2 | ||||
-rw-r--r-- | test/basic9.test | 2 | ||||
-rwxr-xr-x | test/solver.sh | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/test/basic8.test b/test/basic8.test index ce17f7f..19d3964 100644 --- a/test/basic8.test +++ b/test/basic8.test @@ -2,5 +2,5 @@ --no-network add -t .virtual @EXPECT -(1/1) Installing .virtual (20190603.161426) +(1/1) Installing .virtual (20190603.131426) OK: 0 MiB in 0 packages diff --git a/test/basic9.test b/test/basic9.test index dde4f0b..da648be 100644 --- a/test/basic9.test +++ b/test/basic9.test @@ -4,5 +4,5 @@ --test-world a add -t .virtual a @EXPECT -(1/1) Installing .virtual (20190603.161426) +(1/1) Installing .virtual (20190603.131426) OK: 0 MiB in 2 packages diff --git a/test/solver.sh b/test/solver.sh index bc230c6..4e22f88 100755 --- a/test/solver.sh +++ b/test/solver.sh @@ -4,6 +4,7 @@ get_block() { awk '/^@'$1'/{p=1;next} /^@/{p=0} p{print}' } +export TZ=UTC APK_TEST="../src/apk-test" TEST_TO_RUN="$@" |