diff options
Diffstat (limited to 'net-misc/chrony/files/chrony-4.2-test-mawk.patch')
-rw-r--r-- | net-misc/chrony/files/chrony-4.2-test-mawk.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/net-misc/chrony/files/chrony-4.2-test-mawk.patch b/net-misc/chrony/files/chrony-4.2-test-mawk.patch deleted file mode 100644 index 3e9e2eeb422d..000000000000 --- a/net-misc/chrony/files/chrony-4.2-test-mawk.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://git.tuxfamily.org/chrony/chrony.git/patch/?id=b61cbed6895fcd3eae4c8458a69995870a22a5e0 - -From: Vincent Blut <vincent.debian@free.fr> -Date: Wed, 12 Jan 2022 18:08:34 +0100 -Subject: test: ensure awk commands in 008-ntpera return an integer - -Some awk interpreters (e.g. mawk) print long integers in exponential -notation skewing the test result. - ---- a/test/simulation/008-ntpera -+++ b/test/simulation/008-ntpera -@@ -29,7 +29,7 @@ echo "$ntp_start" | grep -q '-' && test_skip - - for time_offset in -1e-1 1e-1; do - for start_offset in 0 "2^32 - $limit"; do -- export CLKNETSIM_START_DATE=$(awk "BEGIN {print $ntp_start + $start_offset}") -+ export CLKNETSIM_START_DATE=$(awk "BEGIN {printf \"%.0f\", $ntp_start + $start_offset}") - run_test || test_fail - check_chronyd_exit || test_fail - check_source_selection || test_fail -@@ -38,7 +38,7 @@ for time_offset in -1e-1 1e-1; do - done - - for start_offset in -$limit "2^32"; do -- export CLKNETSIM_START_DATE=$(awk "BEGIN {print $ntp_start + $start_offset}") -+ export CLKNETSIM_START_DATE=$(awk "BEGIN {printf \"%.0f\", $ntp_start + $start_offset}") - run_test || test_fail - check_chronyd_exit || test_fail - check_source_selection || test_fail -cgit v0.10.2 |