fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes Altmanningertest unreadable-config-paths: skip on windowsde0e519b2

master
1.3 KiB23 linesraw
1# RUN: fish=%fish %fish %s
2# REQUIRES: %fish -c 'not __fish_is_cygwin'
3
4mkdir cache-home config-home data-home
5chmod 000 cache-home config-home data-home
6XDG_CACHE_HOME=$PWD/cache-home \
7    XDG_CONFIG_HOME=$PWD/config-home \
8    XDG_DATA_HOME=$PWD/data-home \
9    $fish -c true
10# CHECKERR: error: can not save history
11# CHECKERR: warning-path: Unable to locate data directory derived from $XDG_DATA_HOME: '{{.*}}/data-home/fish'.
12# CHECKERR: warning-path: The error was 'Permission denied (os error 13)'.
13# CHECKERR: warning-path: Please set $XDG_DATA_HOME to a directory where you have write access.
14
15# CHECKERR: error: can not save universal variables or functions
16# CHECKERR: warning-path: Unable to locate config directory derived from $XDG_CONFIG_HOME: '{{.*}}/config-home/fish'.
17# CHECKERR: warning-path: The error was 'Permission denied (os error 13)'.
18# CHECKERR: warning-path: Please set $XDG_CONFIG_HOME to a directory where you have write access.
19
20# CHECKERR: error: can not save caching data
21# CHECKERR: warning-path: Unable to locate cache directory derived from $XDG_CACHE_HOME: '{{.*}}/cache-home/fish'.
22# CHECKERR: warning-path: The error was 'Permission denied (os error 13)'.
23# CHECKERR: warning-path: Please set $XDG_CACHE_HOME to a directory where you have write access.