mirror of https://github.com/k3s-io/k3s
![]() Our `realpath` and `readlink -f` functions (required only because of MacOS, thanks Steve) were poor substitutes at best. Mostly they were downright broken. This thoroughly overhauls them and adds a test (in comments, since we don't seem to have shell tests). For all the interesting cases I could think of, the fakes act just like the real thing. Then use those and canonicalize KUBE_ROOT. In order to make recursive calls of our shell tool not additively grow `pwd` we have to essentially make the sourcing of init.sh idempotent. |
||
---|---|---|
.. | ||
after-build | ||
boilerplate | ||
e2e-internal | ||
gen-swagger-doc | ||
jenkins | ||
lib | ||
testdata | ||
verify-flags | ||
OWNERS | ||
benchmark-go.sh | ||
benchmark-integration.sh | ||
build-cross.sh | ||
build-go.sh | ||
build-ui.sh | ||
cherry_pick_pull.sh | ||
dev-build-and-push.sh | ||
dev-build-and-up.sh | ||
e2e-node-test.sh | ||
e2e.go | ||
get-build.sh | ||
ginkgo-e2e.sh | ||
grab-profiles.sh | ||
install-etcd.sh | ||
list-feature-tests.sh | ||
local-up-cluster.sh | ||
lookup_pull.py | ||
test-cmd.sh | ||
test-go.sh | ||
test-integration.sh | ||
test-update-storage-objects.sh | ||
update-all.sh | ||
update-api-reference-docs.sh | ||
update-codecgen.sh | ||
update-codegen.sh | ||
update-generated-docs.sh | ||
update-generated-protobuf.sh | ||
update-generated-swagger-docs.sh | ||
update-godep-licenses.sh | ||
update-gofmt.sh | ||
update-swagger-spec.sh | ||
verify-all.sh | ||
verify-api-reference-docs.sh | ||
verify-boilerplate.sh | ||
verify-codecgen.sh | ||
verify-codegen.sh | ||
verify-description.sh | ||
verify-flags-underscore.py | ||
verify-generated-docs.sh | ||
verify-generated-protobuf.sh | ||
verify-generated-swagger-docs.sh | ||
verify-godep-licenses.sh | ||
verify-godeps.sh | ||
verify-gofmt.sh | ||
verify-govet.sh | ||
verify-import-boss.sh | ||
verify-linkcheck.sh | ||
verify-swagger-spec.sh | ||
verify-symbols.sh |