summaryrefslogtreecommitdiff
path: root/tests/matrix
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-10-04 22:01:47 +0200
committerJakob Unterwurzacher2016-10-04 22:01:47 +0200
commit67a959eebfc299f762fdb69283a4f0d46f28a977 (patch)
treed9e75777540124cca339d33d96a3e789d7b92d3a /tests/matrix
parent95db38912b4f796402d6f4e4e78c01e076a68570 (diff)
tests: symlink to "/" instead of "/etc/motd"
This file does not exist on all systems, causing spurious test failures. See #40, #43
Diffstat (limited to 'tests/matrix')
-rw-r--r--tests/matrix/matrix_test.go2
1 files changed, 1 insertions, 1 deletions
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)
}