Changeset 1564 in tailor for test-scripts/test-darcs2aegis-simple.sh
- Timestamp:
- 05/28/08 08:18:40 (5 years ago)
- Hash name:
- 20080528061840-bb3d1-ee1f640eb3de43cb1d93d13ef01d979fdd653327
- File:
-
- 1 edited
-
test-scripts/test-darcs2aegis-simple.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
test-scripts/test-darcs2aegis-simple.sh
r1561 r1564 6 6 7 7 here=`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 # 13 aegis_stable_baseline=$(aegis -cd -p aegis.stable -bl 2> /dev/null) 14 if test -n "$aegis_stable_baseline" 15 then 16 PATH=$aegis_stable_baseline/linux-i486/bin:$PATH 17 fi 8 18 9 19 # … … 30 40 exit 2 31 41 } 42 43 # 44 # The following function is used to check aegis metadata files. 45 # 46 check_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 32 62 33 63 work=${TMPDIR-/tmp}/TAILOR.$$
Note: See TracChangeset
for help on using the changeset viewer.
