/dports/editors/neovim/neovim-0.6.1/src/nvim/testdir/ |
H A D | test_cd.vim | 12 let path = getcwd() 16 call assert_equal(path, getcwd()) 22 let path = getcwd() 36 let path = getcwd() 38 let path_dotdot = getcwd() 65 let path = getcwd() 88 let topdir = getcwd() 134 let topdir = getcwd() 196 let curdir = getcwd() 207 let saveddir = getcwd() [all …]
|
/dports/editors/vim/vim-8.2.3745/src/testdir/ |
H A D | test_cd.vim | 12 let path = getcwd() 14 call assert_notequal(path, getcwd()) 16 call assert_equal(path, getcwd()) 22 let path = getcwd() 36 let path = getcwd() 38 let path_dotdot = getcwd() 64 let topdir = getcwd() 111 let topdir = getcwd() 173 let curdir = getcwd() 184 let saveddir = getcwd() [all …]
|
H A D | test_getcwd.vim | 1 " Test for getcwd() 15 let dirname = fnamemodify(getcwd(), mod) 42 let g:topdir = getcwd() 48 let g:cwd=getcwd() 62 call assert_equal(g:topdir, getcwd(-1)) 65 call assert_equal(g:topdir, getcwd(-1)) 72 call assert_equal(g:topdir, getcwd(-1)) 103 call assert_equal('', getcwd(100)) 105 call assert_equal('', getcwd(10, 1)) 107 call assert_equal('', getcwd(1, 5)) [all …]
|
/dports/devel/py-scikit-build/scikit-build-0.12.0/tests/ |
H A D | test_utils.py | 19 saved_cwd = os.getcwd() 41 old_cwd = os.getcwd() 47 assert os.path.split(os.getcwd())[-1] == 'level2' 51 os.chdir(os.path.join(os.getcwd(), '..')) 53 assert os.path.split(os.getcwd())[-1] == 'level2' 58 assert os.path.split(os.getcwd())[-1] == 'level2' 74 assert os.getcwd() == foo_directory 75 assert os.path.split(os.getcwd())[-1] == 'level2' 82 old_cwd = os.getcwd() 92 os.chdir(os.path.join(os.getcwd(), '..')) [all …]
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/doc/posix-functions/ |
H A D | getcwd.texi | 1 @node getcwd 2 @section @code{getcwd} 3 @findex getcwd 9 Gnulib module: getcwd or getcwd-lgpl 11 Portability problems fixed by either Gnulib module @code{getcwd} or 12 @code{getcwd-lgpl}: 20 @code{getcwd (NULL, n)} allocates memory for the result. 23 On some platforms, the prototype for @code{getcwd} uses @code{int} 28 On some platforms, @code{getcwd (buf, 0)} crashes: 31 On some platforms, @code{getcwd (buf, 0)} fails with @code{ERANGE} [all …]
|
/dports/shells/xonsh/xonsh-0.7.9/tests/ |
H A D | test_dirstack_unc.py | 100 owd = os.getcwd() 103 wd = os.getcwd() 112 owd = os.getcwd().casefold() 114 assert owd == os.getcwd().casefold() 123 owd = os.getcwd() 126 wd = os.getcwd() 141 owd = os.getcwd() 144 wd = os.getcwd() 151 wd = os.getcwd() 175 owd = os.getcwd() [all …]
|
H A D | test_dirstack.py | 23 old_dir = os.getcwd() 32 assert os.getcwd() != HERE 34 assert os.getcwd() == HERE 40 assert os.getcwd() != HERE 42 assert os.getcwd() == HERE 51 assert os.getcwd() == HERE 53 assert os.getcwd() == os.path.join(HERE, "tests") 86 old_dir = os.getcwd() 102 old_dir = os.getcwd() 109 assert target == os.getcwd() [all …]
|
/dports/devel/cvs-devel/cvs-1.12.13/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 12 AC_LIBSOURCES([getcwd.c, getcwd.h]) 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 23 # ifndef getcwd 24 char *getcwd (); 33 char *f = getcwd (NULL, 0); 53 AC_LIBOBJ([getcwd]) 55 [Define to rpl_ if the getcwd replacement function should be used.]) 60 # Prerequisites of lib/getcwd.c.
|
/dports/lang/php73/php-7.3.33/ext/standard/tests/dir/ |
H A D | getcwd_error.phpt | 2 Test getcwd() function : error conditions - Incorrect number of arguments 5 /* Prototype : mixed getcwd(void) 11 * Pass incorrect number of arguments to getcwd() to test behaviour 14 echo "*** Testing getcwd() : error conditions ***\n"; 17 echo "\n-- Testing getcwd() function with one argument --\n"; 19 var_dump( getcwd($extra_arg) ); 23 *** Testing getcwd() : error conditions *** 25 -- Testing getcwd() function with one argument -- 27 Warning: getcwd() expects exactly 0 parameters, 1 given in %s on line %d
|
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/dir/ |
H A D | getcwd_error.phpt | 2 Test getcwd() function : error conditions - Incorrect number of arguments 5 /* Prototype : mixed getcwd(void) 11 * Pass incorrect number of arguments to getcwd() to test behaviour 14 echo "*** Testing getcwd() : error conditions ***\n"; 17 echo "\n-- Testing getcwd() function with one argument --\n"; 19 var_dump( getcwd($extra_arg) ); 23 *** Testing getcwd() : error conditions *** 25 -- Testing getcwd() function with one argument -- 27 Warning: getcwd() expects exactly 0 parameters, 1 given in %s on line %d
|
/dports/editors/le/le-1.16.6/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 63 AC_CACHE_CHECK([for getcwd with POSIX signature], 72 char *getcwd (char *, size_t); 85 dnl Assumes that getcwd exists; if you are worried about obsolete 96 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 65 AC_CACHE_CHECK([for getcwd with POSIX signature], 74 char *getcwd (char *, size_t); 87 dnl Assumes that getcwd exists; if you are worried about obsolete 98 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/archivers/sharutils/sharutils-4.15.2/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 23 # ifndef getcwd 24 char *getcwd (); 28 /* mingw cwd does not start with '/', but getcwd does allocate. 35 char *f = getcwd (NULL, 0); 61 AC_CACHE_CHECK([for getcwd with POSIX signature], 70 char *getcwd (char *, size_t); 83 dnl Assumes that getcwd exists; if you are worried about obsolete 94 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/archivers/gcpio/cpio-2.13/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 63 AC_CACHE_CHECK([for getcwd with POSIX signature], 72 char *getcwd (char *, size_t); 85 dnl Assumes that getcwd exists; if you are worried about obsolete 96 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/dns/libidn/libidn-1.35/gl/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 63 AC_CACHE_CHECK([for getcwd with POSIX signature], 72 char *getcwd (char *, size_t); 85 dnl Assumes that getcwd exists; if you are worried about obsolete 96 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/sysutils/coreutils/coreutils-8.32/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 65 AC_CACHE_CHECK([for getcwd with POSIX signature], 74 char *getcwd (char *, size_t); 87 dnl Assumes that getcwd exists; if you are worried about obsolete 98 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/sysutils/cmogstored/cmogstored-1.8.1/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 65 AC_CACHE_CHECK([for getcwd with POSIX signature], 74 char *getcwd (char *, size_t); 87 dnl Assumes that getcwd exists; if you are worried about obsolete 98 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/devel/cssc/CSSC-1.4.1/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 63 AC_CACHE_CHECK([for getcwd with POSIX signature], 72 char *getcwd (char *, size_t); 85 dnl Assumes that getcwd exists; if you are worried about obsolete 96 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/editors/zile/zile-2.4.14/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 63 AC_CACHE_CHECK([for getcwd with POSIX signature], 72 char *getcwd (char *, size_t); 85 dnl Assumes that getcwd exists; if you are worried about obsolete 96 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/security/gnutls/gnutls-3.6.16/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 65 AC_CACHE_CHECK([for getcwd with POSIX signature], 74 char *getcwd (char *, size_t); 87 dnl Assumes that getcwd exists; if you are worried about obsolete 98 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/gnulib-m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 65 AC_CACHE_CHECK([for getcwd with POSIX signature], 74 char *getcwd (char *, size_t); 87 dnl Assumes that getcwd exists; if you are worried about obsolete 98 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/gnulib-m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 65 AC_CACHE_CHECK([for getcwd with POSIX signature], 74 char *getcwd (char *, size_t); 87 dnl Assumes that getcwd exists; if you are worried about obsolete 98 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/gnulib-m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 65 AC_CACHE_CHECK([for getcwd with POSIX signature], 74 char *getcwd (char *, size_t); 87 dnl Assumes that getcwd exists; if you are worried about obsolete 98 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/misc/gnuls/coreutils-8.30/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 63 AC_CACHE_CHECK([for getcwd with POSIX signature], 72 char *getcwd (char *, size_t); 85 dnl Assumes that getcwd exists; if you are worried about obsolete 96 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|
/dports/devel/patch/patch-2.7.6/m4/ |
H A D | getcwd.m4 | 1 # getcwd.m4 - check for working getcwd that is compatible with glibc 15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result], 24 # ifndef getcwd 25 char *getcwd (); 29 /* mingw cwd does not start with '/', but getcwd does allocate. 36 char *f = getcwd (NULL, 0); 63 AC_CACHE_CHECK([for getcwd with POSIX signature], 72 char *getcwd (char *, size_t); 85 dnl Assumes that getcwd exists; if you are worried about obsolete 96 dnl Minimal replacement lib/getcwd-lgpl.c. [all …]
|