1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/ulib/vector.test
stefanocasazza 0b4ca03ac7 sync
2016-10-14 15:24:05 +02:00

21 lines
354 B
Bash
Executable File

#!/bin/sh
. ../.function
## vector.test -- Test vector feature
start_msg vector
#UTRACE="0 50M -1"
#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