New issue
Advanced search Search tips

Issue 759853 link

Starred by 2 users

Issue metadata

Status: ExternalDependency
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 3
Type: Bug

Blocking:
issue 882906
issue 754861



Sign in to add a comment

Some content_unittests rely on file system permissions to be able to block read/write

Project Member Reported by scottmg@chromium.org, Aug 28 2017

Issue description

generall via base::MakeFileUnreadable and base::MakeFileUnwritable.

chmod() is used to do this on POSIX. That's not implemented in Fuchsia, and there doesn't seem to be any obvious way to emulate it for tests.

I'll enquire upstream if we might get chmod() someday.
 
Blocking: 754861
Upstream MG-1065.
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ef73ab2177944c52638880c80efa38deddf8ea47

commit ef73ab2177944c52638880c80efa38deddf8ea47
Author: Scott Graham <scottmg@chromium.org>
Date: Tue Aug 29 00:09:54 2017

fuchsia: More content_unittests filter triage

Bug: 759853,  759691 
Change-Id: I927f05b5d04fd2bb99aa5bcde46771257a84fe26
Reviewed-on: https://chromium-review.googlesource.com/639339
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#497951}
[modify] https://crrev.com/ef73ab2177944c52638880c80efa38deddf8ea47/testing/buildbot/filters/fuchsia.content_unittests.filter

The following tests in net_unittests also fail because they use MakeFileUnreadable():
 HttpNetworkTransactionTest.UploadUnreadableFile
 SpdyNetworkTransactionTest.UnreadableFilePost
Blocking: 882906

Sign in to add a comment