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

     1  # If ioutil.TempDir returns a sym linked dir (default behaviour in macOS for example) the
     2  # matcher will have problems with external programs that uses the real path.
     3  # This script tests that $WORK is matched in a consistent way (also see #79).
     4  [windows] skip
     5  exec pwd
     6  stdout ^$WORK$
     7  exec pwd -P
     8  stdout ^$WORK$