We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f6a8d6 commit 5eee136Copy full SHA for 5eee136
2 files changed
test/linux-components/distro-check_test.sh
@@ -1,13 +1,13 @@
1
#!/usr/bin/env zsh
2
3
-testSupportedDistrosInDistroCheck() {
+testSupportedDistros() {
4
for RELEASE_FILE in files/os-release*; do
5
RELEASE_FILE=$RELEASE_FILE zsh ../linux-components/distro-check
6
assertEquals 0 $?
7
done
8
}
9
10
-testRejectedDistrosInDistroCheck(){
+testRejectedDistros(){
11
RELEASE_FILE=files/bad-os-release zsh ../linux-components/distro-check
12
assertEquals 1 $?
13
test/run_tests.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env zsh
+
+for testFile in `find ./ -type f -name '*_test.sh'`; do
+ . $testFile
+done
0 commit comments