Mercurial > vim
comparison src/testdir/test_functions.vim @ 15754:e16dc16dc927 v8.1.0884
patch 8.1.0884: double check for bsd systems
commit https://github.com/vim/vim/commit/af630d4f7f8daa7edbda0b607d32d39a5feae9d9
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 8 23:09:48 2019 +0100
patch 8.1.0884: double check for bsd systems
Problem: Double check for bsd systems.
Solution: Delete the old line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 08 Feb 2019 23:15:08 +0100 |
parents | 916c13256877 |
children | c4efa095f323 |
comparison
equal
deleted
inserted
replaced
15753:14581b56bb87 | 15754:e16dc16dc927 |
---|---|
1235 call assert_equal(has('win32unix'), has('win32unix') && has('unix')) | 1235 call assert_equal(has('win32unix'), has('win32unix') && has('unix')) |
1236 | 1236 |
1237 if has('unix') && executable('uname') | 1237 if has('unix') && executable('uname') |
1238 let uname = system('uname') | 1238 let uname = system('uname') |
1239 call assert_equal(uname =~? 'BeOS', has('beos')) | 1239 call assert_equal(uname =~? 'BeOS', has('beos')) |
1240 call assert_equal(uname =~? 'BSD\|DragonFly', has('bsd')) | |
1241 " GNU userland on BSD kernels (e.g., GNU/kFreeBSD) don't have BSD defined | 1240 " GNU userland on BSD kernels (e.g., GNU/kFreeBSD) don't have BSD defined |
1242 call assert_equal(uname =~? '\%(GNU/k\w\+\)\@<!BSD\|DragonFly', has('bsd')) | 1241 call assert_equal(uname =~? '\%(GNU/k\w\+\)\@<!BSD\|DragonFly', has('bsd')) |
1243 call assert_equal(uname =~? 'HP-UX', has('hpux')) | 1242 call assert_equal(uname =~? 'HP-UX', has('hpux')) |
1244 call assert_equal(uname =~? 'Linux', has('linux')) | 1243 call assert_equal(uname =~? 'Linux', has('linux')) |
1245 call assert_equal(uname =~? 'Darwin', has('mac')) | 1244 call assert_equal(uname =~? 'Darwin', has('mac')) |