test: adopt Bats, port bind and cwd tests as a proof of concept - #441
Quality Gate passed
Annotations
Check warning on line 41 in test/helper.bash
sonarqubecloud / SonarCloud Code Analysis
Add an explicit return statement at the end of the function.
See more on https://sonarcloud.io/project/issues?id=proot-me_proot&issues=AaCxX7hB_9mwzZcUv_Zr&open=AaCxX7hB_9mwzZcUv_Zr&pullRequest=441
Check failure on line 19 in test/helper.bash
sonarqubecloud / SonarCloud Code Analysis
Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.
See more on https://sonarcloud.io/project/issues?id=proot-me_proot&issues=AaCxX7hB_9mwzZcUv_Zo&open=AaCxX7hB_9mwzZcUv_Zo&pullRequest=441
Check warning on line 48 in test/helper.bash
sonarqubecloud / SonarCloud Code Analysis
Add an explicit return statement at the end of the function.
See more on https://sonarcloud.io/project/issues?id=proot-me_proot&issues=AaCxX7hB_9mwzZcUv_Zs&open=AaCxX7hB_9mwzZcUv_Zs&pullRequest=441
Check warning on line 36 in test/helper.bash
sonarqubecloud / SonarCloud Code Analysis
Add an explicit return statement at the end of the function.
See more on https://sonarcloud.io/project/issues?id=proot-me_proot&issues=AaCxX7hB_9mwzZcUv_Zq&open=AaCxX7hB_9mwzZcUv_Zq&pullRequest=441
Check warning on line 26 in test/helper.bash
sonarqubecloud / SonarCloud Code Analysis
Add an explicit return statement at the end of the function.
See more on https://sonarcloud.io/project/issues?id=proot-me_proot&issues=AaCxX7hB_9mwzZcUv_Zp&open=AaCxX7hB_9mwzZcUv_Zp&pullRequest=441
Check warning on line 55 in test/helper.bash
sonarqubecloud / SonarCloud Code Analysis
Add an explicit return statement at the end of the function.
See more on https://sonarcloud.io/project/issues?id=proot-me_proot&issues=AaCxX7hB_9mwzZcUv_Zv&open=AaCxX7hB_9mwzZcUv_Zv&pullRequest=441
Check failure on line 13 in test/helper.bash
sonarqubecloud / SonarCloud Code Analysis
Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.
See more on https://sonarcloud.io/project/issues?id=proot-me_proot&issues=AaCxX7hB_9mwzZcUv_Zn&open=AaCxX7hB_9mwzZcUv_Zn&pullRequest=441
Check warning on line 56 in test/helper.bash
sonarqubecloud / SonarCloud Code Analysis
Assign this positional parameter to a local variable.
See more on https://sonarcloud.io/project/issues?id=proot-me_proot&issues=AaCxX7hB_9mwzZcUv_Zu&open=AaCxX7hB_9mwzZcUv_Zu&pullRequest=441
Check warning on line 56 in test/helper.bash
sonarqubecloud / SonarCloud Code Analysis
Assign this positional parameter to a local variable.
See more on https://sonarcloud.io/project/issues?id=proot-me_proot&issues=AaCxX7hB_9mwzZcUv_Zt&open=AaCxX7hB_9mwzZcUv_Zt&pullRequest=441