Skip to content

Commit

Permalink
ci: compute absolute directory
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Jun 14, 2022
1 parent b04ee5b commit aa159bd
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion integration_tests/01_k8s_kind_placebo_ok.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/02_k8s_kind_placebo_stall.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/03_exec_go_placebo_ok.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/05_docker_placebo_stall.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/06_docker_network_ping-pong.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/07_docker_network_traffic-allowed.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/08_docker_network_traffic-blocked.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/09_docker_splitbrain_accept.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/10_docker_splitbrain_reject.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/11_docker_splitbrain_drop.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/13_02_docker_builder_configuration.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# Test for https://github.com/testground/testground/issues/1337
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans/_integrations --name integrations
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/13_docker_builder_configuration.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# Test for https://github.com/testground/testground/issues/1337
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans/_integrations --name integrations
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/example_01_rust.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/example_02_js_pingpong.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
my_dir="$(dirname "$0")"
my_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$my_dir/header.sh"

testground plan import --from ./plans --name testground
Expand Down

0 comments on commit aa159bd

Please sign in to comment.