source: MondoRescue/branches/stable/mondo/mondo/test/mktest@ 532

Last change on this file since 532 was 532, checked in by bcornec, 18 years ago

Fix a bug in rpm generation
Adds mondo conf file
Remove useless mondo-makefilelist
Rudimentary Script for the test env.
Preparation of the separation of log_msg function in a standalone file
Pass sysconfdir variable from configure system to mondoarchive to find conf file

  • Property svn:executable set to *
File size: 300 bytes
Line 
1#!/bin/bash
2#
3# $Id$
4#
5# test script for library functions
6#
7 gcc -O2 -I../common test-conf.c ../common/libmondo-conf.c ../common/libmondo-msg.c -o test-conf
8for f in "test-conf"; do
9 chmod 755 $f
10 ./$f > /tmp/$f.res
11 diff -q $f.res /tmp/$f.res
12 if [ $? -ne 0 ]; then
13 echo "$f test KO !!"
14 fi
15done
Note: See TracBrowser for help on using the repository browser.