mirror of
https://github.com/iustin/mt-st.git
synced 2025-12-23 05:45:13 +00:00
The embedding of tests in the Makefile works only for that is there today - a few `--version` and `stinit -p` calls. For expanding the test coverage, as much as it can be done for `mt`, let's use a proper shell test runner. `shelltestrunner` is available in Debian/Ubuntu, so it's likely to be available in other distributions too, and as such should not be a big barrier to contribution.
10 lines
423 B
Plaintext
10 lines
423 B
Plaintext
# Check example file parsing
|
|
./stinit -p -f stinit.def.examples
|
|
>>>= 0
|
|
|
|
# Checking complete stinit parsing
|
|
./stinit -v -v -p -f stinit.def.examples
|
|
>>> /No errors found./
|
|
>>>2 /Mode 1 definition: scsi2logical=1 can-bsr=1 auto-lock=0 two-fms=0 drive-buffering=1 buffer-writes read-ahead=1 async-writes=1 can-partitions=0 fast-eom=1 blocksize=0 sili=1 timeout=900 long-timeout=14400 density=0x44 compression=0/
|
|
>>>= 0
|