Ignore:
Timestamp:
05/28/08 08:18:40 (5 years ago)
Author:
<walter.franzini@…>
Hash name:
20080528061840-bb3d1-ee1f640eb3de43cb1d93d13ef01d979fdd653327
Message:

use aegis stable release in test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test-scripts/test-darcs2aegis-simple.sh

    r1561 r1564  
    66 
    77here=`pwd` 
     8 
     9# 
     10# To test against the stable aegis branch add the stable executables 
     11# directory to the PATH.  Only needed for aegis contributors. 
     12# 
     13aegis_stable_baseline=$(aegis -cd -p aegis.stable -bl 2> /dev/null) 
     14if test -n "$aegis_stable_baseline" 
     15then 
     16    PATH=$aegis_stable_baseline/linux-i486/bin:$PATH 
     17fi 
    818 
    919# 
     
    3040    exit 2 
    3141} 
     42 
     43# 
     44# The following function is used to check aegis metadata files. 
     45# 
     46check_it() 
     47{ 
     48        sed     -e "s|$work|...|g" \ 
     49                -e 's|= [0-9][0-9]*; /.*|= TIME;|' \ 
     50                -e "s/\"$USER\"/\"USER\"/g" \ 
     51                -e 's/uuid = ".*"/uuid = "UUID"/' \ 
     52                -e 's/19[0-9][0-9]/YYYY/' \ 
     53                -e 's/20[0-9][0-9]/YYYY/' \ 
     54                -e 's/node = ".*"/node = "NODE"/' \ 
     55                -e 's/crypto = ".*"/crypto = "GUNK"/' \ 
     56                < $2 > $work/sed.out 
     57        if test $? -ne 0; then no_result; fi 
     58        diff -B $1 $work/sed.out 
     59        if test $? -ne 0; then no_result; fi 
     60} 
     61 
    3262 
    3363work=${TMPDIR-/tmp}/TAILOR.$$ 
Note: See TracChangeset for help on using the changeset viewer.