test: add simple progress indicator.

This commit is contained in:
Leo Yuriev
2017-05-24 02:16:25 +03:00
parent 06de7a5155
commit a6c8c1ad08
8 changed files with 47 additions and 1 deletions

View File

@@ -270,3 +270,5 @@ void osal_udelay(unsigned us) {
now = chrono::now_motonic();
} while (until.fixedpoint > now.fixedpoint);
}
bool osal_istty(int fd) { return isatty(fd) == 1; }