From: Adam Dickmeiss Date: Tue, 9 Mar 2004 18:52:37 +0000 (+0000) Subject: let tests create directories X-Git-Tag: ZEBRA.1.3.16~125 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=62e62137af3a42c5fb8ebc665623c8f1b9ae9a2b let tests create directories --- diff --git a/test/rusmarc/Makefile.am b/test/rusmarc/Makefile.am index 4b01e59..9c32826 100644 --- a/test/rusmarc/Makefile.am +++ b/test/rusmarc/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.3 2004-03-09 18:45:17 adam Exp $ +# $Id: Makefile.am,v 1.4 2004-03-09 18:52:37 adam Exp $ check_SCRIPTS = test1.sh @@ -11,7 +11,3 @@ dist-hook: mkdir -p $(distdir)/tab -cp -p $(srcdir)/records/* $(distdir)/records -cp -p $(srcdir)/tab/* $(distdir)/tab - mkdir -p $(distdir)/shadow - mkdir -p $(distdir)/register - mkdir -p $(distdir)/lock - mkdir -p $(distdir)/tmp diff --git a/test/rusmarc/test1.sh b/test/rusmarc/test1.sh index 4566ebb..a84fdc2 100755 --- a/test/rusmarc/test1.sh +++ b/test/rusmarc/test1.sh @@ -1,7 +1,10 @@ #!/bin/sh -# $Id: test1.sh,v 1.1 2004-03-09 18:45:17 adam Exp $ +# $Id: test1.sh,v 1.2 2004-03-09 18:52:37 adam Exp $ LOG=test1.log rm -f $LOG +test -d tmp || mkdir tmp +test -d lock || mkdir lock +test -d register || mkdir register ../../index/zebraidx -l$LOG init ../../index/zebraidx -l$LOG update records/*marc ../../index/zebrasrv -l$LOG unix:socket &