Yet another try at getting this to skip on cygwin.
[rsync/rsync.git] / testsuite / longdir.test
index c1575ea..b48a09e 100644 (file)
@@ -14,8 +14,8 @@ hands_setup
 LONGNAME=This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job
 LONGDIR=$FROM/$LONGNAME/$LONGNAME/$LONGNAME
 
-mkdir $FROM/$LONGNAME || test_skipped "unable to create long directory"
-makepath ${LONGDIR}
+makepath $LONGDIR || test_skipped "unable to create long directory"
+touch $LONGDIR/1 || test_skipped "unable to create files in long directory"
 date > ${LONGDIR}/1
 ls -la / > ${LONGDIR}/2
 checkit "$RSYNC --delete -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}