Hi, I am one step further in solving my failing tests using the haskell shell harness script, and one step closer to madness. It seems that at least on my system darcs record does not recognize changes to files until I add a touch file; sleep 1 sequence before recording. For example:
A common sequence looks like this: cd temp2 echo third > a darcs record -am 'first to third' cd .. darcs says 'No changes!' here. I checked that the file in question is indeed reading third when cat'ed. When I change this to cd temp2 echo third > a sleep 1 touch a darcs record -am 'first to third' cd .. The record succeeds. This example is taken from the hidden_conflict.sh script. My other failing tests (see my last annoying mails on this topic) also contain the same class of error. Possible causes: 1. Darcs does not see that the file has changed due to some error in the darcs checking code 2. Darcs does not see that the file has changed due to some strange changing of metadata on my OpenBSD system (FFS with softdeps) 3. My particular implementation of bash does some strange things 4. My implementation of the shell harness does some things essentially different than a shell script 5. none of the above I am not sure how to test this further. Could someone else (kili maybe?) running OpenBSD also run the shell_harness.hs with the hidden_conflict.sh script to confirm (or deny) the above please? Thanks for your helping me out here! Christian -- You may use my gpg key for replies: pub 1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)
pgpOV0EAg7iTG.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
