Skip to content

Commit

Permalink
set -e
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias committed Jun 22, 2024
1 parent a52f753 commit 73ae908
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set "e=|| exit /b"

pytest
python examples/lock_and_zeroize.py
python examples/zeroize_before_fork.py
pytest %e%
python examples/lock_and_zeroize.py %e%
python examples/zeroize_before_fork.py %e%
2 changes: 2 additions & 0 deletions tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

set -e

pytest
python examples/lock_and_zeroize.py
python examples/zeroize_before_fork.py

0 comments on commit 73ae908

Please sign in to comment.