summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_cli.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-08-15 11:17:36 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-15 11:21:07 +0200
commit279f5e09340fbc1f9c15112360da59eacba4eb28 (patch)
tree6fe7b758180c4c7c2725c797b36b985d567ca958 /tests/lib/cli/test_cli.c
parent865f5bb8cb3baa2c8df576c6cd0af3d489e97b5f (diff)
tests: fix clippy include paths / double-build
A mismatch between the make rule and the include path causes dependency tracking to try to build the clippy.c file twice (at the same time), which results in spurious build failures. Fixes: #971 Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/test_cli.c')
-rw-r--r--tests/lib/cli/test_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/cli/test_cli.c b/tests/lib/cli/test_cli.c
index 8f062d8b5e..4cc15ba23f 100644
--- a/tests/lib/cli/test_cli.c
+++ b/tests/lib/cli/test_cli.c
@@ -41,7 +41,7 @@ DUMMY_DEFUN(cmd13, "alt a X:X::X:X");
DUMMY_DEFUN(cmd14,
"pat g { foo A.B.C.D$foo|foo|bar X:X::X:X$bar| baz } [final]");
-#include "tests/lib/cli/test_cli_clippy.c"
+#include "lib/cli/test_cli_clippy.c"
DEFPY(magic_test, magic_test_cmd,
"magic (0-100) {ipv4net A.B.C.D/M|X:X::X:X$ipv6}",