Results for globstar.test.sh

statusbashdashashzshmkshkshtoyshsushbrushosh
pass 4003110411
N-I 1001000000
BUG 0001000000
FAIL 0550445144
total5555555555
casebashdashashzshmkshkshtoyshsushbrushoshdescription
0pass FAIL FAIL N-I pass pass FAIL pass pass pass globstar is off -> ** is treated like *
detailsdetailsdetailsdetails
1pass FAIL FAIL BUG FAIL FAIL FAIL pass FAIL FAIL each occurrence of ** recurses through all depths
detailsdetailsdetailsdetailsdetailsdetailsdetailsdetails
2pass FAIL FAIL pass FAIL FAIL FAIL pass FAIL FAIL within braces, globstar works when there is a comma
detailsdetailsdetailsdetailsdetailsdetailsdetails
3pass FAIL FAIL pass FAIL FAIL FAIL pass FAIL FAIL ** behaves like * if adjacent to anything other than /
detailsdetailsdetailsdetailsdetailsdetailsdetails
4N-I FAIL FAIL pass FAIL FAIL FAIL FAIL FAIL FAIL in zsh, ***/ follows symlinked directories, while **/ does not
detailsdetailsdetailsdetailsdetailsdetailsdetailsdetailsdetails
15 passed, 0 OK, 2 not implemented, 1 BUG, 32 failed, 0 timeouts, 0 cases skipped
4 failed under osh

Details on runs that didn't PASS

dash0 globstar is off -> ** is treated like *

[dash stdout] Expected 'c/leaf.md\n', got '**/*.*\n'

stdout:
**/*.*
stderr:
dash: 3: shopt: not found
touch: cannot touch '{leaf.md,c/leaf.md,c/subdir/leaf.md}': No such file or directory
ash0 globstar is off -> ** is treated like *

[ash stdout] Expected 'c/leaf.md\n', got '**/*.*\n'

stdout:
**/*.*
stderr:
ash: shopt: not found
touch: cannot touch '{leaf.md,c/leaf.md,c/subdir/leaf.md}': No such file or directory
zsh0 globstar is off -> ** is treated like *

stdout:
stderr: 
toysh0 globstar is off -> ** is treated like *

[toysh stdout] Expected 'c/leaf.md\n', got ''
[toysh status] Expected 0, got -6

stdout:
stderr: 
munmap_chunk(): invalid pointer
dash1 each occurrence of ** recurses through all depths

[dash stdout] Expected 'c/leaf.md\nc/subdir/leaf.md\nleaf.md\n\nc/leaf.md\nc/subdir/leaf.md\nleaf.md\n' Got '**/*.*\n\n**/**/*.*\n'

stdout:
**/*.*

**/**/*.*
stderr:
dash: 1: shopt: not found
touch: cannot touch '{leaf.md,c/leaf.md,c/subdir/leaf.md}': No such file or directory
ash1 each occurrence of ** recurses through all depths

[ash stdout] Expected 'c/leaf.md\nc/subdir/leaf.md\nleaf.md\n\nc/leaf.md\nc/subdir/leaf.md\nleaf.md\n' Got '**/*.*\n\n**/**/*.*\n'

stdout:
**/*.*

**/**/*.*
stderr:
ash: shopt: not found
touch: cannot touch '{leaf.md,c/leaf.md,c/subdir/leaf.md}': No such file or directory
zsh1 each occurrence of ** recurses through all depths

stdout:
c/leaf.md
c/subdir/leaf.md
leaf.md

c/leaf.md
c/leaf.md
c/subdir/leaf.md
c/subdir/leaf.md
c/subdir/leaf.md
leaf.md
stderr:
zsh: command not found: shopt
mksh1 each occurrence of ** recurses through all depths

[mksh stdout] Expected 'c/leaf.md\nc/subdir/leaf.md\nleaf.md\n\nc/leaf.md\nc/subdir/leaf.md\nleaf.md\n' Got 'c/leaf.md\n\nc/subdir/leaf.md\n'

stdout:
c/leaf.md

c/subdir/leaf.md
stderr:
mksh: <stdin>[1]: shopt: not found
ksh1 each occurrence of ** recurses through all depths

[ksh stdout] Expected 'c/leaf.md\nc/subdir/leaf.md\nleaf.md\n\nc/leaf.md\nc/subdir/leaf.md\nleaf.md\n' Got 'c/leaf.md\n\nc/subdir/leaf.md\n'

stdout:
c/leaf.md

c/subdir/leaf.md
stderr:
E: ksh: <stdin>[1]: shopt: inaccessible or not found
toysh1 each occurrence of ** recurses through all depths

[toysh stdout] Expected 'c/leaf.md\nc/subdir/leaf.md\nleaf.md\n\nc/leaf.md\nc/subdir/leaf.md\nleaf.md\n' Got 'c/leaf.md\n\nc/subdir/leaf.md\n'

stdout:
c/leaf.md

c/subdir/leaf.md
stderr:
sh: shopt: No such file or directory
brush1 each occurrence of ** recurses through all depths

[brush stdout] Expected 'c/leaf.md\nc/subdir/leaf.md\nleaf.md\n\nc/leaf.md\nc/subdir/leaf.md\nleaf.md\n' Got 'c/leaf.md\n\nc/subdir/leaf.md\n'

stdout:
c/leaf.md

c/subdir/leaf.md
stderr:
osh1 each occurrence of ** recurses through all depths

[osh stdout] Expected 'c/leaf.md\nc/subdir/leaf.md\nleaf.md\n\nc/leaf.md\nc/subdir/leaf.md\nleaf.md\n' Got 'c/leaf.md\n\nc/subdir/leaf.md\n'

stdout:
c/leaf.md

c/subdir/leaf.md
stderr:
  shopt -s globstar
  ^~~~~
[ stdin ]:1: 'shopt' got invalid option 'globstar'
dash2 within braces, globstar works when there is a comma

[dash stdout] Expected 'c/subdir/leaf.md\n', got '{**/*.*,}\n'

stdout:
{**/*.*,}
stderr:
dash: 1: shopt: not found
ash2 within braces, globstar works when there is a comma

[ash stdout] Expected 'c/subdir/leaf.md\n', got '{**/*.*,}\n'

stdout:
{**/*.*,}
stderr:
ash: shopt: not found
mksh2 within braces, globstar works when there is a comma

[mksh stdout] Expected 'c/subdir/leaf.md\n', got '**/*.*\n'

stdout:
**/*.*
stderr:
mksh: <stdin>[1]: shopt: not found
ksh2 within braces, globstar works when there is a comma

[ksh stdout] Expected 'c/subdir/leaf.md\n', got '**/*.*\n'

stdout:
**/*.*
stderr:
E: ksh: <stdin>[1]: shopt: inaccessible or not found
toysh2 within braces, globstar works when there is a comma

[toysh stdout] Expected 'c/subdir/leaf.md\n', got '**/*.*\n'

stdout:
**/*.*
stderr:
sh: shopt: No such file or directory
brush2 within braces, globstar works when there is a comma

[brush stdout] Expected 'c/subdir/leaf.md\n', got '**/*.*\n'

stdout:
**/*.*
stderr:
osh2 within braces, globstar works when there is a comma

[osh stdout] Expected 'c/subdir/leaf.md\n', got '**/*.*\n'

stdout:
**/*.*
stderr:
  shopt -s globstar
  ^~~~~
[ stdin ]:1: 'shopt' got invalid option 'globstar'
dash3 ** behaves like * if adjacent to anything other than /

[dash stdout] Expected 'directory/leaf.md leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n' Got 'directory/leaf.md\ndirectory/**/*.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n'

stdout:
directory/leaf.md
directory/**/*.md
directory/leaf.md
directory/leaf.md
directory/leaf.md
stderr:
dash: 1: shopt: not found
ash3 ** behaves like * if adjacent to anything other than /

[ash stdout] Expected 'directory/leaf.md leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n' Got 'directory/leaf.md\ndirectory/**/*.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n'

stdout:
directory/leaf.md
directory/**/*.md
directory/leaf.md
directory/leaf.md
directory/leaf.md
stderr:
ash: shopt: not found
mksh3 ** behaves like * if adjacent to anything other than /

[mksh stdout] Expected 'directory/leaf.md leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n' Got 'directory/leaf.md\ndirectory/**/*.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n'

stdout:
directory/leaf.md
directory/**/*.md
directory/leaf.md
directory/leaf.md
directory/leaf.md
stderr:
mksh: <stdin>[1]: shopt: not found
ksh3 ** behaves like * if adjacent to anything other than /

[ksh stdout] Expected 'directory/leaf.md leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n' Got 'directory/leaf.md\ndirectory/**/*.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n'

stdout:
directory/leaf.md
directory/**/*.md
directory/leaf.md
directory/leaf.md
directory/leaf.md
stderr:
E: ksh: <stdin>[1]: shopt: inaccessible or not found
toysh3 ** behaves like * if adjacent to anything other than /

[toysh stdout] Expected 'directory/leaf.md leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n' Got 'directory/leaf.md\ndirectory/**/*.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n'

stdout:
directory/leaf.md
directory/**/*.md
directory/leaf.md
directory/leaf.md
directory/leaf.md
stderr:
sh: shopt: No such file or directory
brush3 ** behaves like * if adjacent to anything other than /

[brush stdout] Expected 'directory/leaf.md leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n' Got 'directory/leaf.md\ndirectory/**/*.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n'

stdout:
directory/leaf.md
directory/**/*.md
directory/leaf.md
directory/leaf.md
directory/leaf.md
stderr:
osh3 ** behaves like * if adjacent to anything other than /

[osh stdout] Expected 'directory/leaf.md leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n' Got 'directory/leaf.md\ndirectory/**/*.md\ndirectory/leaf.md\ndirectory/leaf.md\ndirectory/leaf.md\n'

stdout:
directory/leaf.md
directory/**/*.md
directory/leaf.md
directory/leaf.md
directory/leaf.md
stderr:
  shopt -s globstar
  ^~~~~
[ stdin ]:1: 'shopt' got invalid option 'globstar'
bash4 in zsh, ***/ follows symlinked directories, while **/ does not

stdout:
stderr: 
dash4 in zsh, ***/ follows symlinked directories, while **/ does not

[dash stdout] Expected 'directory-2/leaf-2.md\ndirectory-1/symlink/leaf-2.md directory-2/leaf-2.md\n' Got 'directory-2/leaf-2.md\ndirectory-2/leaf-2.md\n'

stdout:
directory-2/leaf-2.md
directory-2/leaf-2.md
stderr:
ash4 in zsh, ***/ follows symlinked directories, while **/ does not

[ash stdout] Expected 'directory-2/leaf-2.md\ndirectory-1/symlink/leaf-2.md directory-2/leaf-2.md\n' Got 'directory-2/leaf-2.md\ndirectory-2/leaf-2.md\n'

stdout:
directory-2/leaf-2.md
directory-2/leaf-2.md
stderr:
mksh4 in zsh, ***/ follows symlinked directories, while **/ does not

[mksh stdout] Expected 'directory-2/leaf-2.md\ndirectory-1/symlink/leaf-2.md directory-2/leaf-2.md\n' Got 'directory-2/leaf-2.md\ndirectory-2/leaf-2.md\n'

stdout:
directory-2/leaf-2.md
directory-2/leaf-2.md
stderr:
ksh4 in zsh, ***/ follows symlinked directories, while **/ does not

[ksh stdout] Expected 'directory-2/leaf-2.md\ndirectory-1/symlink/leaf-2.md directory-2/leaf-2.md\n' Got 'directory-2/leaf-2.md\ndirectory-2/leaf-2.md\n'

stdout:
directory-2/leaf-2.md
directory-2/leaf-2.md
stderr:
toysh4 in zsh, ***/ follows symlinked directories, while **/ does not

[toysh stdout] Expected 'directory-2/leaf-2.md\ndirectory-1/symlink/leaf-2.md directory-2/leaf-2.md\n' Got ''
[toysh status] Expected 0, got -6

stdout:
stderr: 
munmap_chunk(): invalid pointer
sush4 in zsh, ***/ follows symlinked directories, while **/ does not

[sush stdout] Expected 'directory-2/leaf-2.md\ndirectory-1/symlink/leaf-2.md directory-2/leaf-2.md\n' Got 'directory-2/leaf-2.md\ndirectory-2/leaf-2.md\n'

stdout:
directory-2/leaf-2.md
directory-2/leaf-2.md
stderr:
brush4 in zsh, ***/ follows symlinked directories, while **/ does not

[brush stdout] Expected 'directory-2/leaf-2.md\ndirectory-1/symlink/leaf-2.md directory-2/leaf-2.md\n' Got 'directory-2/leaf-2.md\ndirectory-2/leaf-2.md\n'

stdout:
directory-2/leaf-2.md
directory-2/leaf-2.md
stderr:
osh4 in zsh, ***/ follows symlinked directories, while **/ does not

[osh stdout] Expected 'directory-2/leaf-2.md\ndirectory-1/symlink/leaf-2.md directory-2/leaf-2.md\n' Got 'directory-2/leaf-2.md\ndirectory-2/leaf-2.md\n'

stdout:
directory-2/leaf-2.md
directory-2/leaf-2.md
stderr: