mirror of
https://github.com/iustin/mt-st.git
synced 2025-12-23 05:45:13 +00:00
31 lines
907 B
Plaintext
31 lines
907 B
Plaintext
# Check example file parsing
|
|
./stinit -p -f stinit.def.examples
|
|
>>>= 0
|
|
|
|
# Extra arguments ignored while file parsing
|
|
./stinit -p -f stinit.def.examples abc
|
|
>>>2 /Extra arguments .* ignored/
|
|
>>>= 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
|
|
|
|
# Check units
|
|
./stinit -v -v -p -f tests/data/large-units.data
|
|
>>> /No errors found./
|
|
>>>2 /blocksize=1(k|M)/
|
|
>>>= 0
|
|
|
|
# Incomplete block
|
|
./stinit -p -v -f tests/data/incomplete-block.data
|
|
>>>2 /End of definition block not found for/
|
|
>>>= 1
|
|
|
|
# Wrong definition
|
|
./stinit -p -v -f tests/data/bad-definition.data
|
|
>>>2 /Warning: errors in definition for/
|
|
>>>= 1
|