# # # add_file "tests/t_mixed_case_pwd.at" # # patch "ChangeLog" # from [484a145eaac0500d4fc2a0938b9ca924ef565ef3] # to [70493c6c18843f627d33e202cbaf00934b4ee8f9] # # patch "tests/t_mixed_case_pwd.at" # from [] # to [ff1815a6a91f6e658418e7b6456f6ad578a02a12] # # patch "testsuite.at" # from [7f5b300d0781d438772a16ec40edb7364ea5f089] # to [80576368fe0f091078e2cff77c2a8c56253a4e0c] # ============================================================ --- ChangeLog 484a145eaac0500d4fc2a0938b9ca924ef565ef3 +++ ChangeLog 70493c6c18843f627d33e202cbaf00934b4ee8f9 @@ -1,3 +1,7 @@ +2005-12-03 Nathaniel Smith + + * tests/t_mixed_case_pwd.at, testsuite.at: New test. + 2005-11-28 Nathaniel Smith * txt2c.cc (main): Work correctly even on empty files. ============================================================ --- tests/t_mixed_case_pwd.at +++ tests/t_mixed_case_pwd.at ff1815a6a91f6e658418e7b6456f6ad578a02a12 @@ -0,0 +1,20 @@ +AT_SETUP([restrictions when pwd is mixed case]) +MONOTONE_SETUP + +# This is trivial on case-sensitive filesystems, but a little trickier +# on case-preserving ones. + +AT_CHECK(mkdir FooBar) +ADD_FILE([FooBar/testfile], [blah blah +]) +COMMIT(testbranch) + +SET_FILE([FooBar/testfile], [stuff stuff +]) + +AT_CHECK(cd FooBar && MONOTONE commit . -mfoo, [], [ignore], [ignore]) + +AT_CHECK(monotone diff, [], [stdout], [ignore]) +AT_CHECK(QGREP("no changes" stdout)) + +AT_CLEANUP ============================================================ --- testsuite.at 7f5b300d0781d438772a16ec40edb7364ea5f089 +++ testsuite.at 80576368fe0f091078e2cff77c2a8c56253a4e0c @@ -756,3 +756,4 @@ m4_include(tests/t_config_confdir.at) m4_include(tests/t_database_sig_cleanup.at) m4_include(tests/t_update_switch_branch.at) +m4_include(tests/t_mixed_case_pwd.at)