-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36e0307
commit b5d3004
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
trap 'sudo timedatectl set-ntp 1' EXIT | ||
|
||
sudo timedatectl set-ntp 0 | ||
sudo date -s "+10 years" | ||
cmake -GNinja -Btest_build_dir | ||
ninja -C test_build_dir | ||
|
||
# Update the system time and check for any potential time bomb tests in the future. | ||
# Integration tests can't connect to endpoints properly with a misaligned system time, | ||
# so we only check crypto_test and ssl_test. | ||
./test_build_dir/crypto/crypto_test | ||
./test_build_dir/ssl/ssl_test |