# # # patch "ChangeLog" # from [6b5962f83b5f8d80b077b0f35a442aa94efda7dd] # to [d8a3baec427ff98448ca0876ba92baf26f270837] # # patch "tests/t_netsync_notes.at" # from [10ac197fb65d91349b2c11164f03af8c0f45dc9a] # to [c96e414dbd2fdb33dfec014c9dad04d11e1278f6] # ============================================================ --- ChangeLog 6b5962f83b5f8d80b077b0f35a442aa94efda7dd +++ ChangeLog d8a3baec427ff98448ca0876ba92baf26f270837 @@ -1,3 +1,9 @@ +2006-03-18 Richard Levitte
+ + * tests/t_netsync_notes.at: Enhance the test by checking that a + netsync where no data is written to the database won't trigger + the note_netsync* hooks. + 2006-03-18 Matthew Gregan * Makefile.am: Fix a couple of cases where documentation was ============================================================ --- tests/t_netsync_notes.at 10ac197fb65d91349b2c11164f03af8c0f45dc9a +++ tests/t_netsync_notes.at c96e414dbd2fdb33dfec014c9dad04d11e1278f6 @@ -6,6 +6,7 @@ MONOTONE_SETUP NETSYNC_SETUP_WITH_NOTES +# Checking the effect of a new revisions AT_DATA(testfile, [version 0 of test file ]) AT_CHECK(MONOTONE add testfile, [], [ignore], [ignore]) @@ -79,6 +80,7 @@ CANONICALISE(testnotes.log) AT_CHECK(cmp testnotes.log testnotes.test, [0], [ignore], [ignore]) +# Checking the effect of a simple cert change AT_CHECK(MONOTONE tag $VER0 testtag, [], [ignore], [ignore]) RUN_NETSYNC(pull, testbranch) @@ -94,4 +96,11 @@ CANONICALISE(testnotes.log) AT_CHECK(cmp testnotes.log testnotes.test, [0], [ignore], [ignore]) +# Checking that a netsyn with nothing new will not trigger the +# note_netsync hooks +AT_CHECK(rm testnotes.log testnotes.test) +RUN_NETSYNC(pull, testbranch) + +AT_CHECK([test -f testnotes.log], [1]) + AT_CLEANUP