Commit d1cfa86
Add input validation to split-tests.sh script
- Validate that total-shards and shard-index are positive integers
- Ensure shard-index is within valid range (1 to total-shards)
- Add clear error messages for invalid inputs
- Exit with non-zero status on validation failures
This prevents script failures from invalid arguments and improves
user experience with better error reporting.1 parent e17303f commit d1cfa86
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
31 | 46 | | |
32 | 47 | | |
33 | 48 | | |
| |||
0 commit comments