mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 07:22:08 -04:00
Copy cache.in to cache before running the test, so it's not overwritten on
exit.
This commit is contained in:
parent
2af7771427
commit
619ee46ac6
4 changed files with 24 additions and 5 deletions
|
|
@ -15,12 +15,10 @@
|
|||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: clean.sh,v 1.4 2001/01/09 21:43:17 bwelling Exp $
|
||||
# $Id: clean.sh,v 1.5 2001/01/12 22:14:55 bwelling Exp $
|
||||
|
||||
#
|
||||
# Clean up after glue tests.
|
||||
#
|
||||
|
||||
rm -f dig.out
|
||||
|
||||
|
||||
rm -f dig.out ns1/cache
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
named.run
|
||||
cache
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||
; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
; $Id: cache,v 1.4 2001/01/09 21:43:20 bwelling Exp $
|
||||
; $Id: cache.in,v 1.1 2001/01/12 22:14:59 bwelling Exp $
|
||||
|
||||
; Preloaded cache data for glue test
|
||||
|
||||
20
bin/tests/system/glue/setup.sh
Normal file
20
bin/tests/system/glue/setup.sh
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2000, 2001 Internet Software Consortium.
|
||||
#
|
||||
# Permission to use, copy, modify, and distribute this software for any
|
||||
# purpose with or without fee is hereby granted, provided that the above
|
||||
# copyright notice and this permission notice appear in all copies.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
||||
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||
# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
||||
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: setup.sh,v 1.1 2001/01/12 22:14:56 bwelling Exp $
|
||||
|
||||
cd ns1 && cp cache.in cache
|
||||
Loading…
Reference in a new issue