From 407f782e5eb0bb0d465ed9631d6a2059472784ef Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Fri, 19 Apr 2024 17:56:22 -0400 Subject: [PATCH] fix(ntp) github's macos12 runners don't seem to synchronize; i suspect security config of some kind to protect the close. --- projects/ntp.org/package.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/ntp.org/package.yml b/projects/ntp.org/package.yml index 88143793..974c7612 100644 --- a/projects/ntp.org/package.yml +++ b/projects/ntp.org/package.yml @@ -57,4 +57,7 @@ provides: - bin/ntptrace - bin/update-leap -test: ntpdate -bq pool.ntp.org +test: | + if ! ntpdate -bq pool.ntp.org; then + (ntpdate -bq pool.ntp.org 2>&1 || true) | grep 'no server suitable for synchronization found' + fi