5 prefix=$CETPKG_SOURCE/test/MessageService
     6 refsubdir=$prefix/output-references/ELdestinationTester
     8 for testdir in `find -type d -wholename "*test/MessageService/*.d"`
    11     # Get reference directory
    12     dirSuffix=${testdir#*messagefacility_}
    13     dirId=${dirSuffix%_t.d}
    14     refdir=$refsubdir/$dirId
    16     # If testdir is not empty, redact timestamps, which will not be
    17     # the same wrt reference
    18     if test "$(ls -A "$testdir")"; then
    19       for file in $testdir/*
    21           sed -r -f $prefix/filter-timestamps.sed $file > tmp
    25         if [ -d ${refdir} ]; then
    26             echo Directory $testdir should not be empty!  It should contain:
    33     diff -rq $testdir $refdir