]> granicus.if.org Git - postgresql/commitdiff
In pg_upgrade testing script, turn off command echo at the end so status
authorBruce Momjian <bruce@momjian.us>
Tue, 4 Dec 2012 13:17:45 +0000 (08:17 -0500)
committerBruce Momjian <bruce@momjian.us>
Tue, 4 Dec 2012 13:17:45 +0000 (08:17 -0500)
report is clearer.

contrib/pg_upgrade/test.sh

index 503395311ea6674c005a31462856cb4a7a3b8bfc..0ccb8a59859d0e8b967a74cb1b270e679c7c746d 100644 (file)
@@ -127,6 +127,11 @@ esac
 
 pg_dumpall -f "$temp_root"/dump2.sql || pg_dumpall2_status=$?
 pg_ctl -m fast stop
+
+# no need to echo commands anymore
+set +x
+echo
+
 if [ -n "$pg_dumpall2_status" ]; then
        echo "pg_dumpall of post-upgrade database cluster failed"
        exit 1