summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-09-05 17:45:31 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-09-19 15:25:36 +0200
commitc41158288f76b4809d01f3ec5028d8be609bb613 (patch)
tree405f435a7bb377b3f0b3719f87424ac9f30a4846 /src/tests
parent7c0c4ba7a28fad979e602312959203dfefdfaef1 (diff)
wgtpkg-unit: improve naming (minor)
Change-Id: I5dae72c8dd925646b18c30ab4ef60382e43c744b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test-unit/test-unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test-unit/test-unit.c b/src/tests/test-unit/test-unit.c
index 9a205fc..7c63a08 100644
--- a/src/tests/test-unit/test-unit.c
+++ b/src/tests/test-unit/test-unit.c
@@ -74,7 +74,7 @@ int main(int ac, char **av)
conf.installdir = "INSTALL-DIR";
conf.icondir = "ICONS-DIR";
conf.port = 666;
- rc = unit_generator_on(*++av);
+ rc = unit_generator_open_template(*++av);
if (rc < 0)
error("can't read template %s: %m",*av);
while(*++av) {