This needs checking that I understood what the test was meant to do.
At least with this change, the test passes with Solaris /bin/sh, when
it previously failed.


Tue Dec 18 00:18:26 GMT 2007  Dave Love <[EMAIL PROTECTED]>
  * Fix !(...|...) in mv_and_remove_tests.sh.
  Assume the original construct should have been `! ... | ...' and
  replace with a portable version of that.

New patches:

[Fix !(...|...) in mv_and_remove_tests.sh.
Dave Love <[EMAIL PROTECTED]>**20071218001826
 Assume the original construct should have been `! ... | ...' and
 replace with a portable version of that.
] {
hunk ./tests/mv_and_remove_tests.sh 26
-!($DARCS show files | egrep '^./fee$')
+if $DARCS show files | egrep '^./fee$'; then false; else true; fi
merger 0.0 (
hunk ./tests/mv_and_remove_tests.sh 28
-$DARCS show contents d/fee | cmp d/fee
+$DARCS show contents d/fee | cmp d/fee -
hunk ./tests/mv_and_remove_tests.sh 28
-$DARCS show contents d/fee | cmp d/fee
+$DARCS show contents d/fee | cmp d/fee -
)
hunk ./tests/mv_and_remove_tests.sh 32
-!($DARCS show files | egrep '^./fi$')
-!($DARCS show files | egrep '^./d/fi$')
+if $DARCS show files | egrep '^./fi$'; then false; else true; fi
+if $DARCS show files | egrep '^./d/fi$'; then false; else true; fi
hunk ./tests/mv_and_remove_tests.sh 37
-!($DARCS show files | egrep '^./fo$')
-!($DARCS show files | egrep '^./d/fo$')
+if $DARCS show files | egrep '^./fo$'; then false; else true; fi
+if $DARCS show files | egrep '^./d/fo$'; then false; else true; fi
merger 0.0 (
hunk ./tests/mv_and_remove_tests.sh 40
-$DARCS show contents fun | cmp fun
-$DARCS show contents fum | cmp fum
+$DARCS show contents fun | cmp fun -
+$DARCS show contents fum | cmp fum -
hunk ./tests/mv_and_remove_tests.sh 40
-$DARCS show contents fun | cmp fun
-$DARCS show contents fum | cmp fum
+$DARCS show contents fun | cmp fun -
+$DARCS show contents fum | cmp fum -
)
merger 0.0 (
hunk ./tests/mv_and_remove_tests.sh 45
-$DARCS show content d/fun | cmp d/fun
+$DARCS show content d/fun | cmp d/fun -
hunk ./tests/mv_and_remove_tests.sh 45
-$DARCS show content d/fun | cmp d/fun
+$DARCS show content d/fun | cmp d/fun -
)
hunk ./tests/mv_and_remove_tests.sh 47
-!($DARCS show files | egrep '^./fun$')
+if $DARCS show files | egrep '^./fun$'; then false; else true; fi
}

Context:

[use --ignore-times in all tests.
David Roundy <[EMAIL PROTECTED]>**20071217225159
 This is because the hashed repository is a bit pickier, in that
 it no longer checks file lengths when the file modification times
 match.
] 
[enable modification time checking on hashed repositories.
David Roundy <[EMAIL PROTECTED]>**20071217220237] 
[Pass two args to `cmp' in tests, following POSIX.
Dave Love <[EMAIL PROTECTED]>**20071216180503
 Fixes some failures on Solaris.
] 
[resolve silly conflict with myself.
David Roundy <[EMAIL PROTECTED]>**20071217200855] 
[clean up SelectChanges (eliminating Bools)
David Roundy <[EMAIL PROTECTED]>**20071217191809] 
[make a few more files compile with type witnesses.
David Roundy <[EMAIL PROTECTED]>**20071217183234] 
[fix bug in revert (in writing the unrevert file).
David Roundy <[EMAIL PROTECTED]>**20071216215225] 
[make a few more files compile with type witnesses.
David Roundy <[EMAIL PROTECTED]>**20071217164815] 
[remove tabs.
David Roundy <[EMAIL PROTECTED]>**20071216224617] 
[bump version number preemptively to 2.0.0pre3.
David Roundy <[EMAIL PROTECTED]>**20071216222823] 
[fix doc bug in show contents.
David Roundy <[EMAIL PROTECTED]>**20071216214002] 
[TAG 2.0.0pre2
David Roundy <[EMAIL PROTECTED]>**20071216201647] 
Patch bundle hash:
18618d81c12c3034a44278b4c5880bdc65eb0e12
_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to