# # patch "tests/t_automate_ancestors.at" # from [124aceb5207b063700bcf665cfafd5ffd48b7cd1] # to [6a71ddfc43a245c500a1274d0954f942f2a5672a] # --- tests/t_automate_ancestors.at +++ tests/t_automate_ancestors.at @@ -1,13 +1,6 @@ AT_SETUP([automate ancestors]) MONOTONE_SETUP -# This will still fail due to two slight errors: -# - if no ancestors exist, it prints out an empty newline instead of nothing. -# - if multiple revids are given as input it outputs not all ancestors -# This test is a bug report. -AT_XFAIL_IF(true) - - AT_CHECK(MONOTONE automate ancestors c7539264e83c5d6af4c792f079b5d46e9c128665, [1], [ignore], [ignore]) # A @@ -81,8 +74,9 @@ AT_CHECK(cmp tmp2 stdout) AT_CHECK(echo $REV_D > tmp) +AT_CHECK(echo $REV_A >> tmp) AT_CHECK(echo $REV_C >> tmp) -AT_CHECK(echo $REV_F >> tmp) +AT_CHECK(echo $REV_E >> tmp) AT_CHECK(sort tmp > tmp2) AT_CHECK(MONOTONE automate ancestors $REV_D $REV_F, [], [stdout], [ignore]) AT_CHECK(CANONICALISE(stdout))