CWD Tests
$ echo 'cwd .'
cwd .
$ ls -l
total 48
-rw-r--r-- 1 runner docker 1070 May 14 02:55 Makefile
drwxr-xr-x 3 runner docker 4096 May 14 02:55 apidoc
-rwxr-xr-x 1 runner docker 564 May 14 02:55 autobuild.sh
-rwxr-xr-x 1 runner docker 139 May 14 02:55 binder_requirements.sh
drwxr-xr-x 4 runner docker 4096 May 14 02:57 build
-rw-r--r-- 1 runner docker 1245 May 14 02:55 create_cwd_test_md.py
-rwxr-xr-x 1 runner docker 662 May 14 02:55 dev-server.sh
drwxr-xr-x 2 runner docker 4096 May 14 02:55 directives
-rwxr-xr-x 1 runner docker 47 May 14 02:55 download-logo.sh
-rw-r--r-- 1 runner docker 776 May 14 02:55 make.bat
-rwxr-xr-x 1 runner docker 142 May 14 02:55 nb-examples.sh
drwxr-xr-x 6 runner docker 4096 May 14 02:57 source
$ echo 'cwd ., cwd-relative-to: cwd'
cwd ., cwd-relative-to: cwd
$ ls -l
total 48
-rw-r--r-- 1 runner docker 1070 May 14 02:55 Makefile
drwxr-xr-x 3 runner docker 4096 May 14 02:55 apidoc
-rwxr-xr-x 1 runner docker 564 May 14 02:55 autobuild.sh
-rwxr-xr-x 1 runner docker 139 May 14 02:55 binder_requirements.sh
drwxr-xr-x 4 runner docker 4096 May 14 02:57 build
-rw-r--r-- 1 runner docker 1245 May 14 02:55 create_cwd_test_md.py
-rwxr-xr-x 1 runner docker 662 May 14 02:55 dev-server.sh
drwxr-xr-x 2 runner docker 4096 May 14 02:55 directives
-rwxr-xr-x 1 runner docker 47 May 14 02:55 download-logo.sh
-rw-r--r-- 1 runner docker 776 May 14 02:55 make.bat
-rwxr-xr-x 1 runner docker 142 May 14 02:55 nb-examples.sh
drwxr-xr-x 6 runner docker 4096 May 14 02:57 source
$ echo 'cwd ., cwd-relative-to: current_source'
cwd ., cwd-relative-to: current_source
$ ls -l
total 24
-rw-r--r-- 1 runner docker 92 May 14 02:55 cache.md
-rw-r--r-- 1 runner docker 176 May 14 02:55 color.md
-rw-r--r-- 1 runner docker 609 May 14 02:57 cwd.md
-rw-r--r-- 1 runner docker 207 May 14 02:55 echo.md
-rw-r--r-- 1 runner docker 52 May 14 02:55 index.md
-rw-r--r-- 1 runner docker 150 May 14 02:55 term.md
$ echo 'cwd ., cwd-relative-to: sources_root'
cwd ., cwd-relative-to: sources_root
$ ls -l
total 36
drwxr-xr-x 3 runner docker 4096 May 14 02:57 _static
drwxr-xr-x 2 runner docker 4096 May 14 02:57 auto_examples
drwxr-xr-x 2 runner docker 4096 May 14 02:57 binder
-rw-r--r-- 1 runner docker 9543 May 14 02:55 conf.py
-rw-r--r-- 1 runner docker 760 May 14 02:55 index.md
drwxr-xr-x 2 runner docker 4096 May 14 02:57 tests
-rw-r--r-- 1 runner docker 251 May 14 02:55 tutorial.rst
$ echo 'cwd absolute, cwd-relative-to: sources_root'
cwd absolute, cwd-relative-to: sources_root
$ ls -l
total 4
-rw-r--r-- 1 runner docker 0 May 14 02:55 __init__.py
-rw-r--r-- 1 runner docker 450 May 14 02:55 auto_summary.py