We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d79a9a5 commit 8c1f734Copy full SHA for 8c1f734
1 file changed
tests/test_multiprocess.sh
@@ -1,8 +1,10 @@
1
#!/bin/bash -e
2
3
+NUM_ARGS=4
4
+
5
# Check arguments
-if [ $# -lt 3 ]; then
- echo "error: Expected 3 arguments, got $#" >&2
6
+if [ $# -lt $NUM_ARGS ]; then
7
+ echo "error: Expected $NUM_ARGS arguments, got $#" >&2
8
exit 1
9
fi
10
0 commit comments