make a 'runtests' make target that runs some 'unit test'-like tests. Fix crash when uid's without a password entry are encountered, return the uid as a string instead.

This commit is contained in:
Arnout Engelen
2012-03-15 22:31:28 +00:00
parent 2c04ca9267
commit 4ff973bbd7
11 changed files with 284 additions and 229 deletions

View File

@@ -63,7 +63,9 @@
#define PROGNAME_WIDTH 512
void forceExit(const char *msg, int errcode, ...);
#define NORETURN __attribute__ ((__noreturn__))
void forceExit(bool success, const char *msg, ...) NORETURN;
class local_addr {
public:
@@ -128,4 +130,6 @@ private:
void quit_cb (int i);
const char* getVersion();
#endif