mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
21 lines
353 B
Bash
Executable File
21 lines
353 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ../.function
|
|
|
|
## vector.test -- Test vector feature
|
|
|
|
start_msg vector
|
|
|
|
#UTRACE="0 20M 0"
|
|
#UOBJDUMP="0 1M 10"
|
|
#USIMERR="error.sim"
|
|
export UTRACE UOBJDUMP USIMERR
|
|
|
|
start_prg vector inp/words.lst < inp/vector.input
|
|
|
|
tr ' ' '\n' < vector.sort > word.sort
|
|
rm -f vector.sort
|
|
|
|
# Test against expected output
|
|
test_output_diff vector word.sort
|