Changeset 532 in MondoRescue for branches/stable/mondo/mondo/test/mktest


Ignore:
Timestamp:
May 12, 2006, 1:21:13 AM (18 years ago)
Author:
bcornec
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/test/mktest

    r531 r532  
    1 gcc -O2 -I../common test-conf.c ../common/libmondo-conf.c ../common/libmondo-msg.c
     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 TracChangeset for help on using the changeset viewer.