From 62e62137af3a42c5fb8ebc665623c8f1b9ae9a2b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 9 Mar 2004 18:52:37 +0000 Subject: [PATCH] let tests create directories --- test/rusmarc/Makefile.am | 6 +----- test/rusmarc/test1.sh | 5 ++++- 2 files changed, 5 insertions(+), 6 deletions(-) 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 & -- 1.7.10.4