Skip to content

hook-tests: fix leaked /stdout file and add test - #178

Open
mvo5 wants to merge 1 commit into
canonical:masterfrom
mvo5:stray-stdout
Open

hook-tests: fix leaked /stdout file and add test#178
mvo5 wants to merge 1 commit into
canonical:masterfrom
mvo5:stray-stdout

Conversation

@mvo5

@mvo5 mvo5 commented Feb 15, 2021

Copy link
Copy Markdown
Contributor

Ironically one of the tests create a stray /stdout file in current
core18 snaps. This commit fixes this and also adds code that checks
that "/" has no file in it as part of the "make test" command.

Ironically one of the tests create a stray /stdout file in current
core18 snaps. This commit fixes this and also adds code that checks
that "/" has no file in it as part of the "make test" command.
@alfonsosanchezbeato

Copy link
Copy Markdown
Contributor

Strangely enough, it fails now a couple of lines before the change, right when creating stdout:

/home/travis/build/snapcore/core18/hook-tests/601-create-apt-get-warning.test: 7: /home/travis/build/snapcore/core18/hook-tests/601-create-apt-get-warning.test: cannot create stdout: Permission denied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants