added unit tests for several util functions

This commit is contained in:
prozessorkern
2019-07-27 16:31:19 +02:00
parent f65f86d8e2
commit d65765371b
11 changed files with 409 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ shellmatta_retCode_t writeFct(const char* data, uint32_t length)
int main(void)
{
static char buffer[1024];
static char buffer[1024];
static char historyBuffer[4096];
static shellmatta_instance_t instance;
@@ -96,7 +96,7 @@ int main(void)
// raw();
// keypad(stdscr, TRUE);
// noecho();
f = open("/dev/pts/1", O_RDWR | O_SYNC);
f = open("/dev/pts/2", O_RDWR | O_SYNC);
if (f < 0)
{