k3s/test/conformance
Kubernetes Submit Queue b5f61ac129
Merge pull request #62657 from matthyx/master
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Update all script shebangs to use /usr/bin/env interpreter instead of /bin/interpreter

This is required to support systems where bash doesn't reside in /bin (such as NixOS, or the *BSD family) and allow users to specify a different interpreter version through $PATH manipulation.
https://www.cyberciti.biz/tips/finding-bash-perl-python-portably-using-env.html
```release-note
Use /usr/bin/env in all script shebangs to increase portability.
```
2018-05-02 19:44:32 -07:00
..
testdata A test we always skip should not be a conformance test 2018-04-10 09:12:10 -04:00
BUILD Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
OWNERS
README.md Add README.md to test/conformance. 2017-11-10 11:02:11 -08:00
cf_header.md Create Conformance document to display all tests that belong to Conformance suite 2018-01-15 14:17:48 -08:00
conformance_test.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
walk.go Create Conformance document to display all tests that belong to Conformance suite 2018-01-15 14:17:48 -08:00
walk_test.go Create Conformance document to display all tests that belong to Conformance suite 2018-01-15 14:17:48 -08:00

README.md

This directory contains the regression test for controlling the list of all conformance tests.

If you add or remove a conformance test, this test will fail and you will need to update the golden list of tests stored in testdata/. Changes to that file require review by sig-architecture.

To update the list, run

$ bazel build //test/conformance:list_conformance_tests
$ cp bazel-genfiles/test/conformance/conformance.txt test/conformance/testdata

Add the changed file to your PR, then send for review.