From b4bb1c5a2a34486964bca7b40777cf4120c72eea Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 17 Apr 2018 17:00:56 +0100 Subject: [PATCH] tests: fix suspected readdir() ordering issue (!) --- tests/ansible/Makefile | 6 ++++++ .../lib/modules/{ => src}/custom_binary_producing_json.c | 0 .../lib/modules/{ => src}/custom_binary_producing_junk.c | 0 3 files changed, 6 insertions(+) rename tests/ansible/lib/modules/{ => src}/custom_binary_producing_json.c (100%) rename tests/ansible/lib/modules/{ => src}/custom_binary_producing_junk.c (100%) diff --git a/tests/ansible/Makefile b/tests/ansible/Makefile index 26428081..64242baa 100644 --- a/tests/ansible/Makefile +++ b/tests/ansible/Makefile @@ -2,3 +2,9 @@ all: \ lib/modules/custom_binary_producing_junk \ lib/modules/custom_binary_producing_json + +lib/modules/custom_binary_producing_junk: lib/modules/src/custom_binary_producing_junk.c + $(CC) -o $@ $< + +lib/modules/custom_binary_producing_json: lib/modules/src/custom_binary_producing_json.c + $(CC) -o $@ $< diff --git a/tests/ansible/lib/modules/custom_binary_producing_json.c b/tests/ansible/lib/modules/src/custom_binary_producing_json.c similarity index 100% rename from tests/ansible/lib/modules/custom_binary_producing_json.c rename to tests/ansible/lib/modules/src/custom_binary_producing_json.c diff --git a/tests/ansible/lib/modules/custom_binary_producing_junk.c b/tests/ansible/lib/modules/src/custom_binary_producing_junk.c similarity index 100% rename from tests/ansible/lib/modules/custom_binary_producing_junk.c rename to tests/ansible/lib/modules/src/custom_binary_producing_junk.c