We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b125aa commit 69ed6e7Copy full SHA for 69ed6e7
1 file changed
test.sh
@@ -39,11 +39,10 @@ info "Test #02: Run validate MCID"
39
function validateFile {
40
FILE=$1
41
COUNT=$2
42
- # EXIT_STATUS=0
43
44
# Run Java program and capture outputs
45
- stdout=$(mktemp) # temporary file for stdout
46
- stderr=$(mktemp) # temporary file for stderr
+ stdout=$(mktemp) # temporary file for standart output
+ stderr=$(mktemp) # temporary file for error output
47
48
# Run the program, redirecting streams
49
java -jar target/net.pdfix.validate-pdf-*.jar duplicate-mcid -i "$FILE" >"$stdout" 2>"$stderr"
@@ -68,7 +67,6 @@ function validateFile {
68
67
69
# Clean up temporary files
70
rm "$stdout" "$stderr"
71
- return $EXIT_STATUS
72
}
73
74
validateFile "resources/test.pdf" 1
0 commit comments