On 08/11/2020 18:19, Ken Brown via Cygwin-patches wrote:
On 11/5/2020 2:47 PM, Jon Turney wrote:
+# temporary directory to be used for files created by tests (as an
absolute,
+# /cygdrive path, so it can be understood by the test DLL, which will
have
+# different mount table)
+tmpdir = $(shell cygpath -ma $(objdir)/testsuite/tmp/ | sed -e
's#^\([A-Z]\):#/cygdrive/\L\1#')
This isn't right if the cygdrive prefix is not 'cygdrive'. Maybe use
'proc/cygdrive' instead of 'cygdrive'?
That's how I originally had it. Unfortunately, test ltp/symlink01
relies on the test directory being specified as a canonicalized pathname
(i.e. is the same after realpath()).
Since there's no /etc/fstab in the the filesystem relative to the test
DLL, I think it should always be using the default cygdrive prefix?