Skip to content

Commit

Permalink
Remove cygdrive from Windows test paths.
Browse files Browse the repository at this point in the history
Something changed where ssh no longer uses the /cygdrive prefix, and
I've now removed it from /etc/fstab on my Windows test machine. These
test cases need to use the non-cygdrive path.
gittup committed Sep 16, 2023
1 parent b1f526d commit 8739d02
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/t4205-full-deps6.sh
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ touch foo.c bar.c
update

if [ "$in_windows" = "1" ]; then
prefix="`echo $PWD | sed 's,/cygdrive/c,c:,'`"
prefix="`echo $PWD | sed 's,/c,c:,'`"
else
prefix="$PWD"
fi
2 changes: 1 addition & 1 deletion test/t4208-full-deps-external.sh
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ HERE
update

if [ "$in_windows" = "1" ]; then
prefix="`echo $root | sed 's,/cygdrive/c,c:,'`"
prefix="`echo $root | sed 's,/c,c:,'`"
else
prefix="$root"
fi

0 comments on commit 8739d02

Please sign in to comment.