Skip to content

Commit

Permalink
all: fix various syntax issues
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Moore <[email protected]>
  • Loading branch information
pcmoore committed Aug 28, 2024
1 parent 22feeba commit 37a0ac3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/time_change/test
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ sub test_adjtime_setoffset {
filter_cleanup();
}

test_adjtime_setoffset( "adjtimex", "adjtimex", 42, 123456 );
test_adjtime_setoffset( "adjtimex", "adjtimex", 42, 123456 );
test_adjtime_setoffset( "posix", "clock_adjtime", -10, 123456 );

test_adjtime_setoffset( "adjtimex", "adjtimex", 0, 0 );
Expand Down Expand Up @@ -243,8 +243,8 @@ sub test_adjtime_ntpval_all {

my $FC = ( 1000 << 16 );
test_adjtime_ntpval_all( "adjust", 42, 42, -42, -42 );
test_adjtime_ntpval_all( "offset", 100, "-?[0-9]+", 200, "-?[0-9]+" );
test_adjtime_ntpval_all( "offset", 100, "-?[0-9]+", 200, "-?[0-9]+" );
test_adjtime_ntpval_all( "freq", 42, 42 * $FC, -42, -42 * $FC );
test_adjtime_ntpval_all( "status", 0, "[0-9]+", 0, "[0-9]+" );
test_adjtime_ntpval_all( "status", 0, "[0-9]+", 0, "[0-9]+" );
test_adjtime_ntpval_all( "tai", 42, 42, 1234, 1234 );
test_adjtime_ntpval_all( "tick", 0, "-?[0-9]+", 0, "-?[0-9]+" );
test_adjtime_ntpval_all( "tick", 0, "-?[0-9]+", 0, "-?[0-9]+" );

0 comments on commit 37a0ac3

Please sign in to comment.