diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-03-16 09:13:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 09:13:23 +0100 |
commit | 7b0eb9eaf299b913fa780d8cb82b7f18757a5b5e (patch) | |
tree | 24ff1acdee8b7f26511ab82ab292202472289400 | |
parent | 516a7ac4de63fb248ce6641739f82f4a4edcb13c (diff) | |
parent | 3cea6f569e300c92d23e46eb4e2039302f58518f (diff) |
Merge pull request #6264 from thufschmitt/fix-32bits-tests
Fix the tests on 32bits machines
-rw-r--r-- | tests/fetchPath.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/fetchPath.sh b/tests/fetchPath.sh index 0cfdf68cf..8f17638e9 100644 --- a/tests/fetchPath.sh +++ b/tests/fetchPath.sh @@ -1,6 +1,6 @@ source common.sh -touch foo -t 222211111111 -# We only check whether 2222-11-1* **:**:** is the last modified date since +touch foo -t 202211111111 +# We only check whether 2022-11-1* **:**:** is the last modified date since # `lastModified` is transformed into UTC in `builtins.fetchTarball`. -[[ "$(nix eval --impure --raw --expr "(builtins.fetchTree \"path://$PWD/foo\").lastModifiedDate")" =~ 2222111.* ]] +[[ "$(nix eval --impure --raw --expr "(builtins.fetchTree \"path://$PWD/foo\").lastModifiedDate")" =~ 2022111.* ]] |