Last change
on this file since 916 was 900, checked in by Bruno Cornec, 18 years ago |
Huge patch to introduce low level functions that will bw used everywhere (mr_free, mr_asprintf, ...)
Nearly linking now due to that.
|
-
Property svn:executable
set to
*
|
File size:
375 bytes
|
Rev | Line | |
---|
[532] | 1 | #!/bin/bash
|
---|
| 2 | #
|
---|
| 3 | # $Id$
|
---|
| 4 | #
|
---|
| 5 | # test script for library functions
|
---|
| 6 | #
|
---|
[561] | 7 |
|
---|
[768] | 8 | gcc -O2 -I../common -I../lib test-conf.c ../lib/mr_conf.c ../common/libmondo-msg.c -o test-conf
|
---|
[900] | 9 | gcc -O2 -I../common -I../lib test-string.c ../lib/mr_str.c -o test-string
|
---|
[561] | 10 |
|
---|
[532] | 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.