Re: [PATCH] Fix race condition in t9119-git-svn-info.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"David D. Kilzer" <ddkilzer@xxxxxxxxxx> writes:

> Changed the ptouch bash function to use the "Text Last Updated"
> date reported by 'svn info' when changing the modified time
> (mtime) of the file/symlink/directory in the git working
> directory.  Previously it used the mtime of the item in the
> svn working directory, which caused the race condition.
>
> Signed-off-by: David D. Kilzer <ddkilzer@xxxxxxxxxx>

> @@ -350,8 +355,8 @@ test_expect_success 'info unknown-symlink-directory' "
>  	cd svnwc &&
>  		ln -s unknown-directory unknown-symlink-directory &&
>  	cd .. &&
> -	ptouch gitwc/unknown-symlink-directory \
> -	       svnwc/unknown-symlink-directory &&
> +	ptouch svnwc/unknown-symlink-directory \
> +	       gitwc/unknown-symlink-directory &&

Hmph.  Am I the only one who finds this repetition somewhat
disturbing?

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux