1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-09 18:21:05 +03:00

Check for existence of the results directory before invoking mkdir.

This commit is contained in:
Thomas G. Lockhart 2000-11-11 19:56:20 +00:00
parent 17d63245c7
commit a669bd74ee

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.55 2000/10/07 14:55:16 momjian Exp $ # $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.56 2000/11/11 19:56:20 thomas Exp $
# #
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
echo "Syntax: $0 <hostname> [extra-tests]" echo "Syntax: $0 <hostname> [extra-tests]"
@ -66,7 +66,7 @@ if [ -d ./obj ]; then
cd ./obj cd ./obj
fi fi
mkdir results [ -d results ] || mkdir results
echo "=============== Notes... =================" echo "=============== Notes... ================="
echo "postmaster must already be running for the regression tests to succeed." echo "postmaster must already be running for the regression tests to succeed."