Skip to content

Commit

Permalink
Merge pull request #7274 from peterwywong/sles-date
Browse files Browse the repository at this point in the history
Run date +"%Y" > /tmp/currentyear in makentp_extntpserver_value
  • Loading branch information
besawn committed Oct 27, 2022
2 parents 2b25878 + f4351a9 commit 5211060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xCAT-test/autotest/testcase/makentp/cases0
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ cmd:lsdef -t site -o clustersite -i extntpservers -c >/tmp/extntpserver
check:rc==0
cmd:chtab key=extntpservers site.value="$$extntpserversip"
check:rc==0
cmd:date | awk '{print $6}' > /tmp/currentyear
cmd:date +"%Y" > /tmp/currentyear
check:rc==0
cmd:date -s 20000101
check:rc==0
Expand Down

0 comments on commit 5211060

Please sign in to comment.