Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
90d7f660
Commit
90d7f660
authored
Jan 02, 2020
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor portability fixes for new TAP script.
Satisfy perlcritic, mostly. Per buildfarm.
parent
44e44bd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/bin/psql/t/010_tab_completion.pl
src/bin/psql/t/010_tab_completion.pl
+3
-1
No files found.
src/bin/psql/t/010_tab_completion.pl
View file @
90d7f660
...
...
@@ -6,7 +6,7 @@ use TestLib;
use
Test::
More
;
use
IPC::
Run
qw(pump finish timer)
;
if
(
$ENV
{
with_readline
}
ne
'
yes
')
if
(
!
defined
(
$ENV
{
with_readline
})
||
$ENV
{
with_readline
}
ne
'
yes
')
{
plan
skip_all
=>
'
readline is not supported by this build
';
}
...
...
@@ -64,6 +64,7 @@ sub check_completion
ok
(
$okay
,
$annotation
);
# for debugging, log actual output if it didn't match
note
'
Actual output was "
'
.
$out
.
"
\"\n
"
if
!
$okay
;
return
;
}
# Clear query buffer to start over
...
...
@@ -71,6 +72,7 @@ sub check_completion
sub
clear_query
{
check_completion
("
\\
r
\n
",
"
postgres=#
",
"
\\
r works
");
return
;
}
# check basic command completion: SEL<tab> produces SELECT<space>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment