mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-12 21:07:43 +02:00
Merge branch 'master' into stream-reuse
This commit is contained in:
+7
-2
@@ -26,12 +26,17 @@ cd testdata
|
||||
TPKG=../testcode/mini_tdir.sh
|
||||
#RUNLIST=`(ls -1d *.tdir|grep -v '^0[016]')`
|
||||
RUNLIST=`(ls -1d *.tdir)`
|
||||
if test "$#" = "1"; then RUNLIST="$1"; fi
|
||||
if test "$#" = "1"; then
|
||||
RUNLIST="$1";
|
||||
if echo "$RUNLIST" | grep '/$' >/dev/null; then
|
||||
RUNLIST=`echo "$RUNLIST" | sed -e 's?/$??'`
|
||||
fi
|
||||
fi
|
||||
|
||||
# fix up tdir that was edited on keyboard interrupt.
|
||||
cleanup() {
|
||||
echo cleanup
|
||||
if test -f "$t.bak"; then mv "$t.bak" "$t"; fi
|
||||
if test -f "$t.bak"; then rm -fr "${t}"; mv "$t.bak" "$t"; fi
|
||||
exit 0
|
||||
}
|
||||
trap cleanup INT
|
||||
|
||||
Reference in New Issue
Block a user