summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-18 02:22:16 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-18 02:54:16 +0100
commit23c3a89b897b6bc410d1f321355f9c41fa74fea4 (patch)
tree6fe5d836d7a2cf4cefeb2cc2ba9ab9cc92f08cb3 /src/test
parentceceaf09f9e4a53f86c623d70931676255aef334 (diff)
tests: fix build
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-unit-name.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/test-unit-name.c b/src/test/test-unit-name.c
index b6209b1d11..3041ae3d59 100644
--- a/src/test/test-unit-name.c
+++ b/src/test/test-unit-name.c
@@ -161,11 +161,9 @@ static int test_unit_printf(void) {
expect(u, "%p", "blah");
expect(u, "%P", "blah");
expect(u, "%i", "");
- expect(u, "%I", "");
expect(u, "%u", root->pw_name);
expect(u, "%U", root_uid);
expect(u, "%h", root->pw_dir);
- expect(u, "%s", "/bin/sh");
expect(u, "%m", mid);
expect(u, "%b", bid);
expect(u, "%H", host);
@@ -185,7 +183,6 @@ static int test_unit_printf(void) {
expect(u2, "%u", root->pw_name);
expect(u2, "%U", root_uid);
expect(u2, "%h", root->pw_dir);
- expect(u2, "%s", "/bin/sh");
expect(u2, "%m", mid);
expect(u2, "%b", bid);
expect(u2, "%H", host);