Set default directories to /tmp
authorMark Wong <mark@2ndQuadrant.com>
Wed, 31 Jan 2018 00:04:25 +0000 (16:04 -0800)
committerMark Wong <mark@2ndQuadrant.com>
Wed, 31 Jan 2018 00:04:25 +0000 (16:04 -0800)
Set the default directories in the client settings.py file to use /tmp.
This will make it easier to automate testing by reducing the number of
settings to configure.

client/settings.py

index a3d7239463b76013d6b046bb63983c82514da2b3..8bee81a6d69afab3a9d3c212781fec48d4bef396 100644 (file)
@@ -3,10 +3,10 @@ import sys
 
 # global configuration
 GIT_URL = 'git@github.com:postgres/postgres.git'
-REPOSITORY_PATH = '/home/user/tmp/git-postgres'
-BUILD_PATH = '/home/user/tmp/bin-postgres'
+REPOSITORY_PATH = '/tmp/git-postgres'
+BUILD_PATH = '/tmp/bin-postgres'
 BIN_PATH = os.path.join(BUILD_PATH, 'bin')
-DATADIR_PATH = '/home/user/tmp/data-postgres'
+DATADIR_PATH = '/tmp/data-postgres'
 
 POSTGRES_CONFIG = {'shared_buffers': '1GB',
                    'work_mem': '64MB',
@@ -22,7 +22,7 @@ POSTGRES_CONFIG = {'shared_buffers': '1GB',
 
 DATABASE_NAME = 'perf'
 
-OUTPUT_DIR = '/home/user/tmp/perf-output'
+OUTPUT_DIR = '/tmp/perf-output'
 
 # configuration for PgBench
 #