...

Text file src/github.com/rogpeppe/go-internal/testscript/testdata/evalsymlink.txt

Documentation: github.com/rogpeppe/go-internal/testscript/testdata

     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
     5exec pwd
     6stdout ^$WORK$
     7exec pwd -P
     8stdout ^$WORK$

View as plain text