blob: d74a310394cdf3bef209128e411c190e318e263e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#
# Cookbook:: end_to_end
# Recipe:: tests
#
# Copyright:: Copyright (c) Chef Software Inc.
#
#
# this file is for random tests to check specific chef-client internal functionality
#
file "/tmp/chef-test-ümlauts" do
content "testing UTF-8 char in the filename"
end
# this caught a regression in 12.14.70 before it was released when i
# ran it in lamont-ci, so added the test here so everyone else other than
# me gets coverage for this as well.
file "/tmp/chef-test-\xFDmlaut" do
content "testing illegal UTF-8 char in the filename"
end
node["network"]["interfaces"].each do |interface_data|
interface = interface_data[0]
sysctl_param "net/ipv4/conf/#{interface}/rp_filter" do
value 0
ignore_failure true
end
end
|