Whamcloud - gitweb
corrected an error made in setepall in test-framework.sh, which affects
[fs/lustre-release.git] / lustre / tests / crash-mod.sh
1 #!/bin/sh
2 TMP=${TMP:-/tmp}
3 BASEDIR=${1:-`dirname $0`/..}
4 LCMD=$TMP/crash-mod-`hostname`
5 echo "Storing crash module info in $LCMD"
6 cat /tmp/ogdb-`hostname` | while read JUNK M JUNK; do
7         MOD="$BASEDIR/$M"
8         MODNAME=`basename $MOD .o`
9
10         echo mod -s $MODNAME $MOD  | tee -a $LCMD
11 done