source: MondoRescue/trunk/mondo/src/test/mktest@ 817

Last change on this file since 817 was 768, checked in by Bruno Cornec, 18 years ago

mktest generates again good results with the new split of libraries.

  • Property svn:executable set to *
File size: 378 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_string.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.