vmod/vmodttl: fixed bug related to luns not ordered and/or not starting from zero.
[ht-drivers.git] / utils / install / test / test.sh
blob0ccc3169c185e37570f0ea0f56bb757b09b5df32
1 #!/bin/bash
3 # bail out whenever a command doesn't exit cleanly
4 set -e
6 VMEDESC=../vmedesc
8 # each .out file has the command to build it in its first line as a comment
9 for file in *.out
11 $VMEDESC `sed 1q $file | sed 's/^# //'` | \
12 diff -I'^#' --ignore-all-space --ignore-blank-lines $file -
13 done
15 echo "test OK"