Author: philip
Date: Mon Jun 13 11:51:05 2011
New Revision: 1135102

URL: http://svn.apache.org/viewvc?rev=1135102&view=rev
Log:
Change the data files used by diff_tests.py 60 to use
simple generic lines rather than real code.

* subversion/tests/cmdline/diff_tests_data/3449_spurious_v1:
* subversion/tests/cmdline/diff_tests_data/3449_spurious_v2:
* subversion/tests/cmdline/diff_tests_data/3449_spurious_v3:
  (Remove unneeded content).

Modified:
    subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v1
    subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v2
    subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v3

Modified: 
subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v1
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v1?rev=1135102&r1=1135101&r2=1135102&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v1 
(original)
+++ subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v1 
Mon Jun 13 11:51:05 2011
@@ -2,24 +2,24 @@
 0B
 0C
 
-FIND_PACKAGE(Subversion)
-IF(Subversion_FOUND)
-       IF(DEFINED KVIrc_WC_REVISION)
-               SET(CMAKE_KVIRC_BUILD_REVISION ${KVIrc_WC_REVISION})
-               MESSAGE("-- Current revision is ${KVIrc_WC_REVISION}")
-       ELSE()
-               MESSAGE("-- No Subversion working copy found")
-       ENDIF()
-ELSE()
-       STRING(COMPARE EQUAL "${MANUAL_REVISION}" "" MANUAL_REVISION_UNSET)
+Line A
+Line B
+       Line C
+               Line D
+               Line E
+       Line F
+               Line G
+       Line H
+Line F
+       Line I
        
-       IF(MANUAL_REVISION_UNSET)
-               MESSAGE("Subversion not found. No revision number will be used")
-       ELSE()
-               SET(CMAKE_KVIRC_BUILD_REVISION ${MANUAL_REVISION})
-               MESSAGE("-- Current revision has been manually set to 
${MANUAL_REVISION}")
-       ENDIF()
-ENDIF()
+       Line J
+               Line K
+       Line F
+               Line L
+               Line M
+       Line H
+Line H
 
 Blah
 

Modified: 
subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v2
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v2?rev=1135102&r1=1135101&r2=1135102&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v2 
(original)
+++ subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v2 
Mon Jun 13 11:51:05 2011
@@ -2,24 +2,24 @@
 0B
 0C
 
-FIND_PACKAGE(Subversion)
-IF(Subversion_FOUND)
-       IF(DEFINED KVIrc_WC_REVISION)
-               SET(CMAKE_KVIRC_BUILD_REVISION ${KVIrc_WC_REVISION})
-               MESSAGE("-- Current revision is ${KVIrc_WC_REVISION}")
-       ELSE()
-               MESSAGE("-- No Subversion working copy found")
-       ENDIF()
-ELSE()
-       STRING(COMPARE EQUAL "${MANUAL_REVISION}" "" MANUAL_REVISION_UNSET)
+Line A
+Line B
+       Line C
+               Line D
+               Line E
+       Line F
+               Line G
+       Line H
+Line F
+       Line I
        
-       IF(MANUAL_REVISION_UNSET)
-               MESSAGE("Subversion not found. No revision number will be used")
-       ELSE()
-               SET(CMAKE_KVIRC_BUILD_REVISION ${MANUAL_REVISION})
-               MESSAGE("-- Current revision has been manually set to 
${MANUAL_REVISION}")
-       ENDIF()
-ENDIF()
+       Line J
+               Line K
+       Line F
+               Line L
+               Line M
+       Line H
+Line H
 
 Blah
 

Modified: 
subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v3
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v3?rev=1135102&r1=1135101&r2=1135102&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v3 
(original)
+++ subversion/trunk/subversion/tests/cmdline/diff_tests_data/3449_spurious_v3 
Mon Jun 13 11:51:05 2011
@@ -2,23 +2,23 @@
 0B
 0C
 
-STRING(COMPARE EQUAL "${MANUAL_REVISION}" "" MANUAL_REVISION_UNSET)
-IF(MANUAL_REVISION_UNSET)
-       FIND_PACKAGE(Subversion)
-       IF(Subversion_FOUND)
-               IF(DEFINED KVIrc_WC_REVISION)
-                       SET(CMAKE_KVIRC_BUILD_REVISION ${KVIrc_WC_REVISION})
-                       MESSAGE("-- Current revision is ${KVIrc_WC_REVISION}")
-               ELSE()
-                       MESSAGE("-- No Subversion working copy found")
-               ENDIF()
-       ELSE()
-               MESSAGE("Subversion not found. No revision number will be used")
-       ENDIF()
-ELSE()
+Line I
+Line J
+       Line A
+       Line B
+               Line C
+                       Line D
+                       Line E
+               Line F
+                       Line G
+               Line H
+       Line F
+               Line K
+       Line H
+Line F
        New3A
        New3B
-ENDIF()
+Line H
 
 Blah
 


Reply via email to