Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
fetchmail
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
fetchmail
fetchmail
Commits
2cbe6f65
Commit
2cbe6f65
authored
Oct 10, 2019
by
Matthias Andree
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make t.smoke more robust. FreeBSD Bug#240914.
parent
b966ec71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
6 deletions
+23
-6
NEWS
NEWS
+6
-0
t.smoke
t.smoke
+17
-6
No files found.
NEWS
View file @
2cbe6f65
...
...
@@ -71,6 +71,12 @@ fetchmail 6.4.2 (not yet released):
inside the table, which is unsupported by FreeBSD 12's mandoc(1) formatter.
FreeBSD Bug#241032, reported by Helge Oldach.
## CHANGES:
* Make t.smoke more robust and use temporary directory as FETCHMAILHOME, to make
sure that the home directory resolves for the user running the test suite
even if the environment isn't perfect. Reported by Konstantin Belousov,
analysed by Corey Halpin, FreeBSD Bug#240914.
fetchmail 6.4.1 (released 2019-09-28, 27473 LoC):
## REGRESSION FIXES:
...
...
t.smoke
View file @
2cbe6f65
...
...
@@ -3,9 +3,20 @@
# This is a rudimentary tests to see if fetchmail can parse a trivial
# configuration and dump it in human-readable and machine-readable form.
set
-e
trap
'rm -f t.rc.$$'
0
cp
"
${
srcdir
}
/t.rc"
t.rc.
$$
chmod
0400 t.rc.
$$
./fetchmail
-V
-f
t.rc.
$$
>
/dev/null
./fetchmail
--configdump
-f
t.rc.
$$
>
/dev/null
set
-eu
:
"
${
TMPDIR
:
=/tmp
}
"
{
dir
=
`
(
umask
077
&&
mktemp
-d
"
$TMPDIR
/t.smoke.XXXXXX"
)
`
2>/dev/null
\
&&
test
-d
"
$dir
"
}
||
{
dir
=
$TMPDIR
/t.smoke.
$$
-
$RANDOM
(
umask
077
&&
mkdir
"
$dir
"
)
}
trap
'r=$? ; rm -fr t.rc.$$ $dir ; exit $r'
0
cp
"
${
srcdir
}
/t.rc"
$dir
/t.rc.
$$
chmod
0400
$dir
/t.rc.
$$
HOME
=
$dir
FETCHMAILHOME
=
$dir
export
HOME FETCHMAILHOME
./fetchmail
-V
-f
$dir
/t.rc.
$$
>
/dev/null
./fetchmail
--configdump
-f
$dir
/t.rc.
$$
>
/dev/null
Matthias Andree
@mandree
mentioned in issue
#6 (closed)
·
Oct 10, 2019
mentioned in issue
#6 (closed)
mentioned in issue #6
Toggle commit list
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