Last change
on this file since 652 was 561, checked in by bcornec, 18 years ago |
merge -r 542:560 $SVN_M/branches/stable
|
-
Property svn:executable
set to
*
|
File size:
403 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # $Id$
|
---|
4 | #
|
---|
5 | # test script for library functions
|
---|
6 | #
|
---|
7 |
|
---|
8 | gcc -O2 -I../common test-conf.c ../common/libmondo-conf.c ../common/libmondo-msg.c -o test-conf
|
---|
9 | gcc -O2 -I../common test-string.c ../common/libmondo-string.c ../common/libmondo-msg.c -o test-string
|
---|
10 |
|
---|
11 | for f in "test-conf"; do
|
---|
12 | chmod 755 $f
|
---|
13 | ./$f > /tmp/$f.res
|
---|
14 | diff -q $f.res /tmp/$f.res
|
---|
15 | if [ $? -ne 0 ]; then
|
---|
16 | echo "$f test KO !!"
|
---|
17 | fi
|
---|
18 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.