aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-07-26 01:38:30 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2017-07-26 01:38:30 +0200
commit6d76e1620a3369572b17e0bb2c4f223df8ac49f0 (patch)
tree89164face80ba2123e64125ad1b68ccdee0fe89c /test
parentcode style (diff)
downloadaes-tools-6d76e1620a3369572b17e0bb2c4f223df8ac49f0.tar.gz
aes-tools-6d76e1620a3369572b17e0bb2c4f223df8ac49f0.zip
test/all.bat: code style
Diffstat (limited to '')
-rw-r--r--test/all.bat6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/all.bat b/test/all.bat
index e65b5d4..7497637 100644
--- a/test/all.bat
+++ b/test/all.bat
@@ -1,8 +1,8 @@
@setlocal enabledelayedexpansion
-@if [%1] == [] goto exit_with_usage
+@if "%~1" == "" goto exit_with_usage
-@set utils_dir=%~1
+@set "utils_dir=%~1"
nist.py --path "%utils_dir%" || exit /b !errorlevel!
cavp.py --path "%utils_dir%" || exit /b !errorlevel!
@@ -11,5 +11,5 @@ file.py --path "%utils_dir%" || exit /b !errorlevel!
@goto :eof
:exit_with_usage
-@echo usage: %0 UTILS_DIR >&2
+@echo usage: %~nx0 UTILS_DIR >&2
@exit /b 1