-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix samba tests #36423
Fix samba tests #36423
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #36423 +/- ##
===========================================
+ Coverage 64.87% 65.18% +0.3%
Complexity 19792 19792
===========================================
Files 1271 1271
Lines 74723 74723
Branches 1309 1309
===========================================
+ Hits 48479 48705 +226
+ Misses 25858 25632 -226
Partials 386 386
Continue to review full report at Codecov.
|
Description
mkdir /var/cache/samba
- this is needed in Ubuntu 18.04 (current drone) as reported at https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1758653 Actually the tests can pass without it, but the unit test output is full of "Permission denied" errors. See comment [WIP] Enable samba tests without mkdir #36425 (comment)apps/files_external/tests/Storage/SmbTest.php
- this was useful to try and understand exactly where things failed'domain'=>'WORKGROUP'
to the smb config files. This is needed now, it seems thatsmbclient
or samba-something may have provided this by default in the past, but it needs to be specified when using Ubuntu 18.04 with samba... - thanks to @jvillafanez for finding this.Related Issue
Motivation and Context
Make CI great again.
How Has This Been Tested?
CI
Types of changes
Checklist: