Skip to content

Commit

Permalink
More testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ArekKuczynski committed Jan 3, 2025
1 parent 5e3c9cb commit c67a514
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions Tests/Regression/Manager/CommandLine_Bugs.robot
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,9 @@ Next Day For Scheduled Start Is In the Next Month
Log ${result.stderr}
END
IF "${platform}" == "windows"
${result}= Run Process powershell.exe Set-Date -Date (Get-Date '31/12/2024' -Format dd/MM/yyyy) shell=${True}
Log ${result.stdout}
Log ${result.stderr}
${result}= Run Process powershell.exe Set-Date -Date (Get-Date '2024-12-31') shell=${True}
Log ${result.stdout}
Log ${result.stderr}
${result}= Run Process powershell.exe Set-Date -Date (Get-Date '12/31/2024') shell=${True}
Log ${result.stdout}
Log ${result.stderr}
${result}= Run Process powershell.exe Get-Date -Format 'dd/MM/yyyy' shell=${True}
Log New date: ${result.stdout} console=${True}
Log ${result.stderr}
Expand All @@ -46,7 +40,10 @@ Next Day For Scheduled Start Is In the Next Month
${result}= Run Process sudo timedatectl set-time '12/31/2024'
Log ${result.stdout}
Log ${result.stderr}
${result}= Run Process sudo timedatectl set-time "2024-12-31 00:00:00"
${result}= Run Process sudo timedatectl set-time '2024-12-31 00:00:00'
Log ${result.stdout}
Log ${result.stderr}
${result}= Run Process sudo date -s '2024-12-31 00:00:00'
Log ${result.stdout}
Log ${result.stderr}
${result}= Run Process date
Expand All @@ -65,6 +62,12 @@ Next Day For Scheduled Start Is In the Next Month
${result}= Run Process sudo sntp -sS time.apple.com
Log ${result.stdout}
Log ${result.stderr}
${result}= Run Process sudo systemsetup -setusingnetworktime on
Log ${result.stdout}
Log ${result.stderr}
${result}= Run Process sudo systemsetup -setnetworktimeserver time.apple.com
Log ${result.stdout}
Log ${result.stderr}
${result}= Run Process date
Log Back to original date: ${result.stdout} console=${True}
Log ${result.stderr}
Expand Down

0 comments on commit c67a514

Please sign in to comment.