source: trunk/mondo/src/test/mktest @ 900

Last change on this file since 900 was 900, checked in by Bruno Cornec, 14 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
Line 
1#!/bin/bash
2#
3# $Id$
4#
5# test script for library functions
6#
7
8gcc -O2 -I../common -I../lib test-conf.c ../lib/mr_conf.c ../common/libmondo-msg.c -o test-conf
9gcc -O2 -I../common -I../lib test-string.c ../lib/mr_str.c -o test-string
10
11for 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
18done
Note: See TracBrowser for help on using the repository browser.