Check the contract on your VM
Use materials/09/audit_lib.sh and check_input.sh.
Test a spaced path, an empty regular file, a missing path, a directory, and wrong argument counts. Separate stdout, stderr, and status. Rename the library and confirm the caller refuses to proceed.
Then complete the graded lab. Chapter 13 develops systematic debugging and regression tests.
Source context: Linuxize Bash functions, linked in the lessons. Examples and exercises are original adaptations.