github.com/rogpeppe/go-internal@v1.12.1-0.20240509064211-c8567cf8e95f/testscript/testdata/exists.txt (about)

     1  chmod 444 foo_r
     2  exists foo
     3  ! exists unfoo
     4  # TODO The following line fails but probably should not.
     5  # ! exists -readonly foo
     6  exists foo_r
     7  exists -readonly foo_r
     8  
     9  -- foo --
    10  foo
    11  
    12  -- foo_r --