Skip to content

Commit

Permalink
revise return value check
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed May 1, 2024
1 parent d1d310f commit 60fa651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Invoke-Command -Script { cargo run } -ErrorAction SilentlyContinue
IF( $LASTEXITCODE -EQ 5 ) {
IF( $LASTEXITCODE -EQ 3 ) {
Write-Output "eduOS-rs runs succesfully within Qemu"
Exit 0
} else {
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
cargo run
if [ $? -eq 5 ]; then
if [ $? -eq 3 ]; then
echo "eduOS-rs runs succesfully within Qemu"
exit 0
else
Expand Down

0 comments on commit 60fa651

Please sign in to comment.