Lines Matching refs:DMESG_DIR
216 local DMESG_DIR=
342 DMESG_DIR="$OPTARG-dmesg-output-`echo $$-``date +%X | tr -d ' '`";;
344 DMESG_DIR="$LTPROOT/output/$OPTARG-dmesg-output-`echo $$-``date +%X | tr -d ' '`";;
346 mkdir -p $DMESG_DIR
799 awk -v DMESG_DIR=$DMESG_DIR \
821 # $DMESG_DIR is used to cache messages obtained from dmesg after a test run.
822 # Proactively reap all of the 0-byte files in $DMESG_DIR as they have zero value
826 if ! find "$DMESG_DIR" -size 0 -exec rm {} + ; then
827 echo "cd to $DMESG_DIR failed: $?"
829 if [ -n "$(ls "$DMESG_DIR")" ] ; then