summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-01 16:08:19 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-01 16:08:19 +0200
commitb86abadf87bd0f85f800077171ec4b98aefff776 (patch)
tree8de3e19c4a33da64318424ddb94cf4b727af6623 /.cirrus.yml
parent2caa1594e72be7a876c21ed5c2df252d3537cfa7 (diff)
downloadvim-git-b86abadf87bd0f85f800077171ec4b98aefff776.tar.gz
patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSDv8.2.1340
Problem: Some tests fail on Cirrus CI and/or with FreeBSD. Solution: Make 'backupskip' empty. Do not run tests as root. Check for directory when using viminfo. (Ozaki Kiichi, closes #6596)
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 97fb0f1f6..a098789c5 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -11,6 +11,9 @@ freebsd_12_task:
- NPROC=$(getconf _NPROCESSORS_ONLN)
- ./configure --with-features=${FEATURES}
- make -j${NPROC}
- - src/vim --version
test_script:
- - make test
+ - src/vim --version
+ # run tests as user "cirrus" instead of root
+ - pw useradd cirrus -m
+ - chown -R cirrus:cirrus .
+ - sudo -u cirrus make test