Skip to content

Use property user.home in java tests #26820

Answered by airtower-luna
Manerial asked this question in Actions
Discussion options

You must be logged in to vote
Manerial:

java.io.FileNotFoundException: /home/runner\BooksExports\Toto.docx (Permission denied)

Looks like your test is trying to create a file named runner\BooksExports\Toto.docx in /home/. Note that the backslashes aren’t directory separators on Linux! 😉

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants