# # add_file "tests/t_restriction_with_exclude_iprint.at" # # patch "ChangeLog" # from [0ba8d9b1dc7b4ae558e26303d8e917b9c551bcfe] # to [5152387c28788af27464f5c07c9c66655fcdc5a7] # # patch "tests/t_restriction_with_exclude_iprint.at" # from [] # to [8bc5aeff03498cef3f14fce6603c36562e4bbf6c] # # patch "testsuite.at" # from [2696934aa2e3d275fcfea83f97e45d1fe833f3bd] # to [4405c8c3584fd8462446135258c4bb1f1c7d41fd] # ======================================================================== --- ChangeLog 0ba8d9b1dc7b4ae558e26303d8e917b9c551bcfe +++ ChangeLog 5152387c28788af27464f5c07c9c66655fcdc5a7 @@ -1,6 +1,10 @@ 2005-09-20 Matthew Gregan - * sqlite*: Update in-tree SQLite from 3.2.2 to 3.2.6. + * tests/t_restriction_with_exclude_iprint.at: New test, variant of + t_restriction_exclude.at, but with inodeprints enabled. Mark as + XFAILed. + * testsuite.at: Add new test. + * sqlite/*: Update in-tree SQLite from 3.2.2 to 3.2.6. * Makefile.am: Add sqlite/{analyze,vbdefifo,complete}.c to SQLITE_SOURCES * schema_migration.cc (calculate_schema_id): Explicitly exclude ======================================================================== --- tests/t_restriction_with_exclude_iprint.at +++ tests/t_restriction_with_exclude_iprint.at 8bc5aeff03498cef3f14fce6603c36562e4bbf6c @@ -0,0 +1,22 @@ +AT_SETUP([use restrictions with --exclude]) +MONOTONE_SETUP + +AT_XFAIL_IF(true) + +AT_CHECK(mkdir foo) +AT_DATA(file1, [x +]) +AT_DATA(foo/bar, [y +]) + +AT_CHECK(MONOTONE add file1, [], [ignore], [ignore]) +AT_CHECK(MONOTONE add foo/bar, [], [ignore], [ignore]) + +AT_CHECK(monotone refresh_inodeprints) +AT_CHECK(echo a >>file1) +AT_CHECK(echo b >>foo/bar) +AT_CHECK(MONOTONE ci --exclude foo -m 'x', [], [ignore], [ignore]) +AT_CHECK(MONOTONE status --brief | grep "foo/bar", [], [ignore], [ignore]) +AT_CHECK(MONOTONE status --brief | grep "file1", [1], [ignore], [ignore]) + +AT_CLEANUP ======================================================================== --- testsuite.at 2696934aa2e3d275fcfea83f97e45d1fe833f3bd +++ testsuite.at 4405c8c3584fd8462446135258c4bb1f1c7d41fd @@ -1,4 +1,4 @@ -# -*- Autoconf -*- +G# -*- Autoconf -*- # # the monotone integration testsuite is written in bourne shell, # strung together with the autotest framework (part of autoconf). @@ -705,3 +705,4 @@ m4_include(tests/t_automate_get_revision.at) m4_include(tests/t_unreadable_db.at) m4_include(tests/t_restriction_with_exclude.at) +m4_include(tests/t_restriction_with_exclude_iprint.at)