From cee81c267a5e306fa5a4b54d14c42a6754907c79 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Sun, 6 Nov 2022 19:43:01 +0900 Subject: [PATCH] Test: update src/test/pgpool_setup.in --- src/test/pgpool_setup.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/pgpool_setup.in b/src/test/pgpool_setup.in index 5ace6d488..34258eebe 100644 --- a/src/test/pgpool_setup.in +++ b/src/test/pgpool_setup.in @@ -161,7 +161,7 @@ function create_failover_script() { # If $TEST_SAMPLES = "true", use sample scripts and config files if [ $TEST_SAMPLES = "true" ]; then - cp -p $PGPOOLDIR/failover.sh.sample $FAILOVER_SCRIPT + cp -p $PGPOOLDIR/scripts/failover.sh.sample $FAILOVER_SCRIPT # Rewrite script PGHOMEVER=`expr $PGVERSION / 10` /bin/sed -i \ @@ -252,7 +252,7 @@ function create_follow_primary_script() { # If $TEST_SAMPLES = "true", use sample scripts and config files if [ $TEST_SAMPLES = "true" ]; then - cp -p $PGPOOLDIR/follow_primary.sh.sample $FOLLOW_PRIMARY_SCRIPT + cp -p $PGPOOLDIR/scripts/follow_primary.sh.sample $FOLLOW_PRIMARY_SCRIPT # Rewrite script PGHOMEVER=`expr $PGVERSION / 10` /bin/sed -i \ @@ -376,7 +376,7 @@ function create_pgpool_remote_start_script() { # If $TEST_SAMPLES = "true", use sample scripts and config files if [ $TEST_SAMPLES = "true" ]; then - cp -p $PGPOOLDIR/pgpool_remote_start.sample $1/$PGPOOL_REMOTE_START_SCRIPT + cp -p $PGPOOLDIR/scripts/pgpool_remote_start.sample $1/$PGPOOL_REMOTE_START_SCRIPT # Rewrite script PGHOMEVER=`expr $PGVERSION / 10` /bin/sed -i \ @@ -515,7 +515,7 @@ SCRIPT=basebackup.sh # If $TEST_SAMPLES = "true", use sample scripts and config files if [ $TEST_SAMPLES = "true" ]; then - cp -p $PGPOOLDIR/recovery_1st_stage.sample $1/$SCRIPT + cp -p $PGPOOLDIR/scripts/recovery_1st_stage.sample $1/$SCRIPT # Rewrite script PGHOMEVER=`expr $PGVERSION / 10` /bin/sed -i \ @@ -663,7 +663,7 @@ function create_basebackup_replication { # If $TEST_SAMPLES = "true", use sample scripts and config files if [ $TEST_SAMPLES = "true" ]; then - cp -p $PGPOOLDIR/replication_mode_recovery_1st_stage.sample $1/$SCRIPT + cp -p $PGPOOLDIR/scripts/replication_mode_recovery_1st_stage.sample $1/$SCRIPT # Rewrite script PGHOMEVER=`expr $PGVERSION / 10` /bin/sed -i \ @@ -733,7 +733,7 @@ SCRIPT=pgpool_recovery_pitr # If $TEST_SAMPLES = "true", use sample scripts and config files if [ $TEST_SAMPLES = "true" ]; then - cp -p $PGPOOLDIR/replication_mode_recovery_2nd_stage.sample $1/$SCRIPT + cp -p $PGPOOLDIR/scripts/replication_mode_recovery_2nd_stage.sample $1/$SCRIPT # Rewrite script PGHOMEVER=`expr $PGVERSION / 10` /bin/sed -i \ -- 2.39.5