mana-core-athenarootcomps / test / run_test_athena_ntuple_dumper.sh

#!/bin/sh

function run_test() {
    echo "::: retrieve reference ascii file..."
    reffile=ref.d3pd.ascii
    chkfile=d3pd.ascii
    /bin/rm -f $reffile > /dev/null
    /bin/rm -f $chkfile > /dev/null
    refdir=root://eosatlas//eos/atlas/user/b/binet/utests/utests/filter-d3pd/
    xrdcp $refdir/$reffile $reffile || return 1

    echo "::: run athena-ntuple-dumper..."
    (athena.py AthenaRootComps/test_athena_ntuple_dumper.py >& d3pd.log.txt) || return 1

    echo "::: comparing ascii dumps..."
    diff $reffile $chkfile
    sc=$?
    echo "::: comparing ascii dumps...[$sc]"
    return $sc
}

run_test
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.