Commit 02ebe721 authored by Felix Lechner's avatar Felix Lechner

Refresh, update and rename patches

parent ea6855a4
......@@ -21,13 +21,23 @@ Last-Update: 2018-02-03
import (
--- a/internal/syscallcompat/getdents_test.go
+++ b/internal/syscallcompat/getdents_test.go
@@ -19,9 +19,6 @@ var getdentsUnderTest = getdents
@@ -20,9 +20,6 @@ var emulate = false
func TestGetdents(t *testing.T) {
t.Logf("testing native getdents")
testGetdents(t)
- t.Logf("testing emulateGetdents")
- getdentsUnderTest = emulateGetdents
- emulate = true
- testGetdents(t)
}
// skipOnGccGo skips the emulateGetdents test when we are
@@ -44,9 +41,6 @@ func skipOnGccGo(t *testing.T) {
func testGetdents(t *testing.T) {
getdentsUnderTest := getdents
- if emulate {
- getdentsUnderTest = emulateGetdents
- }
// Fill a directory with filenames of length 1 ... 255
testDir, err := ioutil.TempDir(tmpDir, "TestGetdents")
if err != nil {
......@@ -6,8 +6,8 @@ Forwarded: not-needed
--- a/internal/syscallcompat/getdents_test.go
+++ b/internal/syscallcompat/getdents_test.go
@@ -17,6 +17,7 @@ import (
var getdentsUnderTest = getdents
@@ -18,6 +18,7 @@ import (
var emulate = false
func TestGetdents(t *testing.T) {
+ t.Skip("may fail on filesystems without extended attributes, disabled")
......
007-disable-emulated-getdents.patch
008-disable-getdents-test.patch
001-disable-emulated-getdents.patch
002-disable-getdents-test.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment