diff options
| author | Alexander Barton <alex@barton.de> | 2012-09-27 00:56:03 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2012-09-27 00:57:37 +0200 |
| commit | cf9f9e1f30857d615fed9b83d3d58167c8a3d0ed (patch) | |
| tree | 834f258d9bc37a8ebe82d0aacb97fac5c0c0a442 /src/testsuite/stress-server.sh | |
| parent | 19ce256a95c6e8c5498c80aa730ffe5f83b7814e (diff) | |
| download | ngircd-cf9f9e1f30857d615fed9b83d3d58167c8a3d0ed.tar.gz ngircd-cf9f9e1f30857d615fed9b83d3d58167c8a3d0ed.zip | |
Test suite: don't use "mkdir -p"
"mkdir -p" is not supported on all platforms. Tested with Apple A/UX 3.1.x.
Diffstat (limited to 'src/testsuite/stress-server.sh')
| -rwxr-xr-x | src/testsuite/stress-server.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/testsuite/stress-server.sh b/src/testsuite/stress-server.sh index 0f85958e..15d6df1f 100755 --- a/src/testsuite/stress-server.sh +++ b/src/testsuite/stress-server.sh @@ -1,7 +1,7 @@ #!/bin/sh # # ngIRCd Test Suite -# Copyright (c)2002-2004 by Alexander Barton (alex@barton.de) +# Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -9,8 +9,6 @@ # (at your option) any later version. # Please read the file COPYING, README and AUTHORS for more information. # -# $Id: stress-server.sh,v 1.16 2005/12/30 22:13:21 alex Exp $ -# # detect source directory [ -z "$srcdir" ] && srcdir=`dirname $0` @@ -23,7 +21,8 @@ name=`basename $0` # create directories -mkdir -p logs tests +[ -d logs ] || mkdir logs +[ -d tests ] || mkdir tests # test for required external tools type expect > /dev/null 2>&1 |