Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
998147de
Commit
998147de
authored
Feb 11, 2019
by
danielqsj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix shellcheck in pkg/kubectl/cmd/edit/testdata/record_testcase.sh
parent
0e78dd2d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
.shellcheck_failures
hack/.shellcheck_failures
+0
-1
record_testcase.sh
pkg/kubectl/cmd/edit/testdata/record_testcase.sh
+2
-2
No files found.
hack/.shellcheck_failures
View file @
998147de
...
@@ -119,7 +119,6 @@
...
@@ -119,7 +119,6 @@
./hack/verify-test-images.sh
./hack/verify-test-images.sh
./hack/verify-test-owners.sh
./hack/verify-test-owners.sh
./hack/verify-typecheck.sh
./hack/verify-typecheck.sh
./pkg/kubectl/cmd/edit/testdata/record_testcase.sh
./test/cmd/apply.sh
./test/cmd/apply.sh
./test/cmd/apps.sh
./test/cmd/apps.sh
./test/cmd/authorization.sh
./test/cmd/authorization.sh
...
...
pkg/kubectl/cmd/edit/testdata/record_testcase.sh
View file @
998147de
...
@@ -25,7 +25,7 @@ fi
...
@@ -25,7 +25,7 @@ fi
# Clean up the test server
# Clean up the test server
function
cleanup
{
function
cleanup
{
if
[[
!
-z
"
${
pid
-
}
"
]]
;
then
if
[[
-n
"
${
pid
-
}
"
]]
;
then
echo
"Stopping recording server (
${
pid
}
)"
echo
"Stopping recording server (
${
pid
}
)"
# kill the process `go run` launched
# kill the process `go run` launched
pkill
-P
"
${
pid
}
"
pkill
-P
"
${
pid
}
"
...
@@ -36,7 +36,7 @@ function cleanup {
...
@@ -36,7 +36,7 @@ function cleanup {
testcase
=
"
${
1
}
"
testcase
=
"
${
1
}
"
test_root
=
"
$(
dirname
"
${
BASH_SOURCE
}
"
)
"
test_root
=
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
testcase_dir
=
"
${
test_root
}
/testcase-
${
testcase
}
"
testcase_dir
=
"
${
test_root
}
/testcase-
${
testcase
}
"
mkdir
-p
"
${
testcase_dir
}
"
mkdir
-p
"
${
testcase_dir
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment