From 67a959eebfc299f762fdb69283a4f0d46f28a977 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 4 Oct 2016 22:01:47 +0200 Subject: [PATCH] tests: symlink to "/" instead of "/etc/motd" This file does not exist on all systems, causing spurious test failures. See #40, #43 --- tests/matrix/matrix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go index 1b851c3..6a96909 100644 --- a/tests/matrix/matrix_test.go +++ b/tests/matrix/matrix_test.go @@ -556,7 +556,7 @@ func TestLongNames(t *testing.T) { } // Long symlink n255s := string(bytes.Repeat([]byte("s"), 255)) - err = os.Symlink("/etc/motd", wd+n255s) + err = os.Symlink("/", wd+n255s) if err != nil { t.Fatal(err) }