[3133] in BarnOwl Developers
[barnowl/barnowl] 7feba1: Add some tests for owl_util_baseclass
daemon@ATHENA.MIT.EDU (noreply@github.com)
Sat Jul 9 16:09:11 2011
Date: Sat, 9 Jul 2011 13:09:09 -0700
To: barnowl-dev@mit.edu
From: noreply@github.com
Branch: refs/heads/master
Home: https://github.com/barnowl/barnowl
Commit: 7feba193a35f4604f459d01e71dc8195e0175ab0
https://github.com/barnowl/barnowl/commit/7feba193a35f4604f459d01e71dc8195e0175ab0
Author: David Benjamin <davidben@mit.edu>
Date: 2011-07-09 (Sat, 09 Jul 2011)
Changed paths:
M tester.c
Log Message:
-----------
Add some tests for owl_util_baseclass
Mostly to stress some edge cases and make sure we don't accidentally
crash them someday.
Commit: c0c48d14cd5317aaaaffb853fb6e22ab5ca7327f
https://github.com/barnowl/barnowl/commit/c0c48d14cd5317aaaaffb853fb6e22ab5ca7327f
Author: David Benjamin <davidben@mit.edu>
Date: 2011-07-09 (Sat, 09 Jul 2011)
Changed paths:
M util.c
Log Message:
-----------
Reimplement owl_util_makepath
The new algorithm is cleaner and much more reasonable. foo/~/bar should
not expand the ~. Also don't expand '~user /bar' as '/home/user /bar'.
Also leave non-existant users unexpanded.
It still has some finicky bits of string manipulations, but what can you
do. A unit test is coming in the next commit.
Commit: bf5e6a2244ea3e7c621f4047df508a83a7abac86
https://github.com/barnowl/barnowl/commit/bf5e6a2244ea3e7c621f4047df508a83a7abac86
Author: David Benjamin <davidben@mit.edu>
Date: 2011-07-09 (Sat, 09 Jul 2011)
Changed paths:
M tester.c
Log Message:
-----------
Add unit tests for owl_util_makepath
Stress all the relevant cases, including ones the previous code did not
handle.
Commit: 14c9e05ce7a2e185e0303e975b73852951ee4b2a
https://github.com/barnowl/barnowl/commit/14c9e05ce7a2e185e0303e975b73852951ee4b2a
Author: David Benjamin <davidben@mit.edu>
Date: 2011-07-09 (Sat, 09 Jul 2011)
Changed paths:
M tester.c
Log Message:
-----------
Number test output
May as well appease TAP here when we can.
Commit: 786a4108f9184d7c73170d373bc2cf80347b6456
https://github.com/barnowl/barnowl/commit/786a4108f9184d7c73170d373bc2cf80347b6456
Author: David Benjamin <davidben@mit.edu>
Date: 2011-07-09 (Sat, 09 Jul 2011)
Changed paths:
M runtests.sh
Log Message:
-----------
Print out failing lines in prove output
Makes diagnosing test failures much easier.
Compare: https://github.com/barnowl/barnowl/compare/a16d7e5...786a410