Content-Length: 285998 | pFad | http://github.com/postgrespro/postgres/commit/90d7f6604b6ed2dcedee2884c3b01541600515cb
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44e44bd commit 90d7f66Copy full SHA for 90d7f66
src/bin/psql/t/010_tab_completion.pl
@@ -6,7 +6,7 @@
6
use Test::More;
7
use IPC::Run qw(pump finish timer);
8
9
-if ($ENV{with_readline} ne 'yes')
+if (!defined($ENV{with_readline}) || $ENV{with_readline} ne 'yes')
10
{
11
plan skip_all => 'readline is not supported by this build';
12
}
@@ -64,13 +64,15 @@ sub check_completion
64
ok($okay, $annotation);
65
# for debugging, log actual output if it didn't match
66
note 'Actual output was "' . $out . "\"\n" if !$okay;
67
+ return;
68
69
70
# Clear query buffer to start over
71
# (won't work if we are inside a string literal!)
72
sub clear_query
73
74
check_completion("\\r\n", "postgres=# ", "\\r works");
75
76
77
78
# check basic command completion: SEL<tab> produces SELECT<space>
Fetched URL: http://github.com/postgrespro/postgres/commit/90d7f6604b6ed2dcedee2884c3b01541600515cb
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments