File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## Unreleased
4+
5+ - Skip ` --init ` option tests for NixOS
6+
37## [ 0.22.3] ( https://github.com/TypedDevs/bashunit/compare/0.22.2...0.22.3 ) - 2025-07-27
48
59- Fix NixOS support
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ function tear_down() {
1414}
1515
1616function test_bashunit_init_creates_structure() {
17+ if check_os::is_nixos; then
18+ skip && return
19+ fi
20+
1721 # switch into a clean temporary directory
1822 pushd " $TMP_DIR " > /dev/null
1923 # generate test scaffolding
@@ -26,6 +30,10 @@ function test_bashunit_init_creates_structure() {
2630}
2731
2832function test_bashunit_init_custom_directory() {
33+ if check_os::is_nixos; then
34+ skip && return
35+ fi
36+
2937 pushd " $TMP_DIR " > /dev/null
3038 ../../bashunit --init custom > /tmp/init.log
3139 assert_file_exists " custom/example_test.sh"
You can’t perform that action at this time.
0 commit comments