Add autotest for progress()

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2015-08-23 13:11:20 +02:00
parent 1909dd475c
commit 3809b109c6
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -59,6 +59,7 @@ test: clean
$(MAKE) -f fsendfile.mk
$(MAKE) -f makepath.mk
$(MAKE) -f pidfilefn.mk
$(MAKE) -f progress.mk
$(MAKE) -f rsync.mk
$(MAKE) -f tempfile.mk
$(MAKE) -f tree.mk
+2 -2
View File
@@ -70,7 +70,7 @@ static void bye(void)
showcursor();
}
int main(int argc __attribute__((unused)), char const *argv[] __attribute__((unused)))
int main(void)
{
int i, percent, block = 0, num = 85;
@@ -94,7 +94,7 @@ int main(int argc __attribute__((unused)), char const *argv[] __attribute__((unu
/**
* Local Variables:
* compile-command: "gcc -g -I../../include -o unittest -DUNITTEST progress.c; and ./unittest"
* compile-command: "make V=1 -f progress.mk"
* version-control: t
* indent-tabs-mode: t
* c-file-style: "linux"
+4
View File
@@ -0,0 +1,4 @@
OBJS =
TARGET = progress.test clean
include rules.mk