Fix broken -l option in runalltests.sh
diff --git a/runalltests.sh b/runalltests.sh
index 7ac29f4..2f33331 100755
--- a/runalltests.sh
+++ b/runalltests.sh
@@ -146,7 +146,7 @@
l)
- echo "INFO: creating $LTPROOT/results directory"
+ echo "INFO: creating $LTPROOT/results directory"
[ ! -d $LTPROOT/results ] && \
{
mkdir -p $LTPROOT/results || \
@@ -156,8 +156,9 @@
}
}
case $OPTARG in
+ /*)
+ LOGFILE="-l $OPTARG" ;;
*)
- #LOGFILE="-l $OPTARG" ;;
LOGFILE="-l $LTPROOT/results/$OPTARG"
ALT_DIR=1 ;;
esac ;;