Skip to content

Commit

Permalink
reset TZ when running solver tests as some output has local time
Browse files Browse the repository at this point in the history
Fixes commits 37fbafc and 1c47f37.
  • Loading branch information
fabled committed Jun 5, 2019
1 parent 366d0ee commit 4494d54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/basic8.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/basic9.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions test/solver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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="$@"

Expand Down

0 comments on commit 4494d54

Please sign in to comment.