Skip to content

Commit 0c4ef4b

Browse files
committed
update tests
1 parent 948aeb8 commit 0c4ef4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fast-apt-mirror.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function get_dist_name() {
8888
}
8989

9090
@test "find: Find mirror if executed with arguments" {
91-
assert_exitcode $RC_OK find --sample-size 10 --healthchecks 8 --ignore-sync-state --speedtests 2
91+
assert_exitcode $RC_OK find --sample-size 10 --healthchecks 8 --ignore-sync-state --speedtests 2 --country DE
9292
assert_regex "$output" 'Randomly selecting 8 mirrors...done'
9393
assert_regex "$output" 'Speed testing 2 of the available'
9494
assert_regex "$output" '(sample download size: 10KB)'
@@ -101,7 +101,7 @@ function get_dist_name() {
101101
debian|kali|ubuntu) ;;
102102
*) skip ;;
103103
esac
104-
assert_exitcode $RC_OK find -vvv --apply --exclude-current
104+
assert_exitcode $RC_OK find -vvv --apply --exclude-current --country DE
105105
>&3 echo "|-> ${lines[-2]}"
106106
assert_regex "$output" 'Creating backup /etc/apt/(sources\.list|apt-mirrors\.txt).*.save'
107107
assert_regex "$output" "Changing mirror from \[.*\] to \[.*\]"

0 commit comments

Comments
 (0)