bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: failure to append to .cvspass should always be fatal


From: Mark D. Baushke
Subject: Re: failure to append to .cvspass should always be fatal
Date: Mon, 28 Feb 2005 10:23:10 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Meyering <address@hidden> writes:

> > Hmmm... I wonder if it is possible to come up with a sanity.sh test case
> > for this one?
> 
> I considered it but, dismissed it as infeasible.
> Of course, I would be happy to be proved wrong.
> 
> It might work to use a tool like subterfugue, where you could presumably
> cause to fail the first write after the open-.cvspass-for-append.
> But if you try to fill the disk containing .cvspass so that there's
> enough room to rewrite that file, but not enough to append a few bytes
> more, it probably won't be reliable.
> 
> I guess if you really insist, you might be able to do something
> reasonably portable with expect and gdb.

I don't think we need a test for it that urgently as yet.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFCI2GO3x41pRYZE/gRAopoAKDVdAhBJ6aO6nPsj7LM2gLqOG2VeQCg0UkP
Dmp9J+bjmZy/1N5mxr66+QM=
=/zHJ
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]