Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/acceptance/08_commands/01_modules/001.cf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

body common control
{
inputs => { "../../default.cf.sub", "../../plucked.cf.sub" };
inputs => { "../../default.cf.sub", "../../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
version => "1.0";
}
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/08_commands/01_modules/002.cf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

body common control
{
inputs => { "../../default.cf.sub", "../../plucked.cf.sub" };
inputs => { "../../default.cf.sub", "../../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
version => "1.0";
}
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/08_commands/01_modules/003.cf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

body common control
{
inputs => { "../../default.cf.sub", "../../plucked.cf.sub" };
inputs => { "../../default.cf.sub", "../../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
version => "1.0";
}
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/08_commands/01_modules/004.cf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

body common control
{
inputs => { "../../default.cf.sub", "../../plucked.cf.sub" };
inputs => { "../../default.cf.sub", "../../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
version => "1.0";
}
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/08_commands/01_modules/set-context.cf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

body common control
{
inputs => { "../../default.cf.sub", "../../plucked.cf.sub" };
inputs => { "../../default.cf.sub", "../../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
version => "1.0";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

body common control
{
inputs => { "../../default.cf.sub", "../../plucked.cf.sub" };
inputs => { "../../default.cf.sub", "../../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
version => "1.0";
}
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/08_commands/01_modules/set-tags.cf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

body common control
{
inputs => { "../../default.cf.sub", "../../plucked.cf.sub" };
inputs => { "../../default.cf.sub", "../../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
version => "1.0";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body common control
{
inputs => { "../../default.cf.sub", "../../plucked.cf.sub" };
inputs => { "../../default.cf.sub", "../../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
version => "1.0";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body common control
{
inputs => { "../../default.cf.sub", "../../plucked.cf.sub" };
inputs => { "../../default.cf.sub", "../../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
version => "1.0";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
body common control
{
inputs => { "../../dcs.cf.sub",
"../../plucked.cf.sub",
"../../plucked.sub.cf",
"check_file_changes_log.cf.sub",
};
bundlesequence => { default("$(this.promise_filename)") };
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
body common control
{
inputs => { "../../dcs.cf.sub",
"../../plucked.cf.sub",
"../../plucked.sub.cf",
};
bundlesequence => { "init", "test" };
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
body common control
{
inputs => { "../../dcs.cf.sub",
"../../plucked.cf.sub",
"../../plucked.sub.cf",
"check_file_changes_log.cf.sub",
};
bundlesequence => { default("$(this.promise_filename)") };
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
body common control
{
inputs => { "../../dcs.cf.sub",
"../../plucked.cf.sub",
"../../plucked.sub.cf",
};
bundlesequence => { "init", "test" };
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

body file control
{
inputs => { "../../plucked.cf.sub" };
inputs => { "../../plucked.sub.cf" };
}

bundle agent check_file_changes_log(file, pass_class, fail_class, checks)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

body common control
{
inputs => { "../../default.cf.sub", "../../plucked.cf.sub" };
inputs => { "../../default.cf.sub", "../../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
version => "1.0";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body common control
{
inputs => { "../../plucked.cf.sub" };
inputs => { "../../plucked.sub.cf" };
bundlesequence => { test };
version => "1.0";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

body common control
{
inputs => { "../../../dcs.cf.sub", "../../../plucked.cf.sub" };
inputs => { "../../../dcs.cf.sub", "../../../plucked.sub.cf" };
bundlesequence => { default($(this.promise_filename)) };
}

bundle agent test
{

commands:
# Note, no -K, we are testing locks.
"$(sys.cf_agent) -v -D AUTO,DEBUG -f $(this.promise_filename).sub"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body common control
{
inputs => { "../../../dcs.cf.sub", "../../../plucked.cf.sub" };
inputs => { "../../../dcs.cf.sub", "../../../plucked.sub.cf" };
bundlesequence => { default($(this.promise_filename)) };
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

body file control
{
inputs => { "../../plucked.cf.sub" };
inputs => { "../../plucked.sub.cf" };
}

bundle agent disable_sudo_tty_requirement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

body common control
{
inputs => { "../default.cf.sub", "../plucked.cf.sub" };
inputs => { "../default.cf.sub", "../plucked.sub.cf" };
bundlesequence => { default("$(this.promise_filename)") };
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body common control
{
inputs => { "../plucked.cf.sub" };
inputs => { "../plucked.sub.cf" };
}

bundle agent test
Expand Down
6 changes: 3 additions & 3 deletions tests/acceptance/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ check-local:
+ $(TESTS_ENVIRONMENT) MAKE=$(MAKE) $(srcdir)/testall


EXTRA_DIST = default.cf.sub dcs.cf.sub plucked.cf.sub run_with_server.cf.sub \
EXTRA_DIST = default.cf.sub dcs.cf.sub plucked.sub.cf run_with_server.cf.sub \
testall dummy_etc write_args.sh \
root-MD5=617eb383deffef843ea856b129d0a423.pub \
root-MD5=617eb383deffef843ea856b129d0a423.priv
Expand All @@ -109,5 +109,5 @@ dist-hook:
CLEANFILES = *.gcno *.gcda Makefile.testall

pluck:
echo '### This is an auto-generated file, see Makefile.am and `make pluck` ###' > plucked.cf.sub
../../contrib/cf-locate/cf-locate -f -p '( if_|run_|warn_only|INI_section|kept_successful_command|edit_line|set_user_field|set_variable_values\(|edit_field|set_line_based|location|replace_with|_cp|_dcp|empty|shell|immediate|perms| m\b|recurse|tidy| all|classes_generic|results| start|always|^value|edit_field line|insert_lines|(link|copy)from| file_mustache| (file|dir)_(copy|tidy|sync|make|empty|link|hardlink))' ../../../masterfiles/lib/*.cf >> plucked.cf.sub
echo '### This is an auto-generated file, see Makefile.am and `make pluck` ###' > plucked.sub.cf
../../contrib/cf-locate/cf-locate -f -p '( if_|run_|warn_only|INI_section|kept_successful_command|edit_line|set_user_field|set_variable_values\(|edit_field|set_line_based|location|replace_with|_cp|_dcp|empty|shell|immediate|perms| m\b|recurse|tidy| all|classes_generic|results| start|always|^value|edit_field line|insert_lines|(link|copy)from| file_mustache| (file|dir)_(copy|tidy|sync|make|empty|link|hardlink))' ../../../masterfiles/lib/*.cf >> plucked.sub.cf
4 changes: 2 additions & 2 deletions tests/acceptance/default.cf.sub
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bundle common D
"inputs"
slist => {
"$(D.owndir)$(const.dirsep)dcs.cf.sub",
"$(D.owndir)$(const.dirsep)plucked.cf.sub",
"$(D.owndir)$(const.dirsep)plucked.sub.cf",
};

# If testing the masterfiles policy framework then load the stdlib by
Expand All @@ -35,6 +35,6 @@ bundle common D

body file control
{
# plucked.cf.sub comes from the stdlib with `make pluck`
# plucked.sub.cf comes from the stdlib with `make pluck`
inputs => { @(D.inputs) };
}
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/acceptance/testall
Original file line number Diff line number Diff line change
Expand Up @@ -1059,13 +1059,13 @@ then
ALL_TESTS="$ALL_TESTS${ALL_TESTS:+ }$test"
elif [ -d $test ]
then
ALL_TESTS="$ALL_TESTS${ALL_TESTS:+ }$(find "$test" -name workdir -prune -o -name '*.cf' -print | sort)"
ALL_TESTS="$ALL_TESTS${ALL_TESTS:+ }$(find "$test" -name workdir -prune -o -name '*.cf' -and -not -name '*.sub.cf' -print | sort)"
else
echo "Unable to open test file/directory: $test"
fi
done
else
ALL_TESTS="$ALL_TESTS${ALL_TESTS:+ }$(find . \( -name selftest -o -name workdir \) -prune -o -name '*.cf' -print | sort)"
ALL_TESTS="$ALL_TESTS${ALL_TESTS:+ }$(find . \( -name selftest -o -name workdir \) -prune -o -name '*.cf' -and -not -name '*.sub.cf' -print | sort)"
fi

for addtest in $ALL_TESTS
Expand Down
Loading