mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 03:21:16 -03:00
Run __fish_complete_entries test in its own sandbox
It was being unduly influenced by any files created for or by other tests in the fish config/home directories.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#RUN: %fish %s
|
||||
cd ..
|
||||
mkdir -p __fish_complete_directories/
|
||||
cd __fish_complete_directories
|
||||
mkdir -p test/buildroot
|
||||
mkdir -p test/fish_expand_test
|
||||
mkdir -p test/data/abc
|
||||
mkdir -p test/data/abcd
|
||||
touch test/data/af
|
||||
@@ -19,7 +22,6 @@ __fish_complete_directories test/data
|
||||
__fish_complete_directories test/data/
|
||||
#CHECK: test/data/abc/ Directory
|
||||
#CHECK: test/data/abcd/ Directory
|
||||
#CHECK: test/data/fish/ Directory
|
||||
#CHECK: test/data/xy/ Directory
|
||||
#CHECK: test/data/xyz/ Directory
|
||||
__fish_complete_directories test/data/abc 'abc dirs'
|
||||
|
||||
Reference in New Issue
Block a user