diff mbox series

[OpenWrt-Devel,uci,01/18] test: move shunit2 tests under standalone subdirectory

Message ID 20191105003657.16540-2-ynezz@true.cz
State Accepted
Delegated to: Petr Štetiar
Headers show
Series fixes and improvements | expand

Commit Message

Petr Štetiar Nov. 5, 2019, 12:36 a.m. UTC
So we could start adding other tests as well. While at it rename the
parent directory from test to the more common tests name.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
---
 .gitignore                                                      | 2 +-
 {test => tests/shunit2}/Makefile                                | 0
 {test => tests/shunit2}/README                                  | 0
 {test => tests/shunit2}/config/network                          | 0
 {test => tests/shunit2}/references/add_list_changes.result      | 0
 {test => tests/shunit2}/references/add_list_config.result       | 0
 {test => tests/shunit2}/references/add_list_show.result         | 0
 {test => tests/shunit2}/references/add_section.result           | 0
 {test => tests/shunit2}/references/batch_comments.result        | 0
 {test => tests/shunit2}/references/batch_set.result             | 0
 .../shunit2}/references/cli.options.delta.commit.result         | 0
 .../shunit2}/references/cli.options.delta.export.result         | 0
 {test => tests/shunit2}/references/del_list_config.result       | 0
 .../shunit2}/references/del_list_multiline_config.result        | 0
 {test => tests/shunit2}/references/export.data                  | 0
 {test => tests/shunit2}/references/export.result                | 0
 {test => tests/shunit2}/references/get.data                     | 0
 {test => tests/shunit2}/references/get_multiline.data           | 0
 {test => tests/shunit2}/references/get_parsing.data             | 0
 {test => tests/shunit2}/references/import.data                  | 0
 {test => tests/shunit2}/references/import.result                | 0
 {test => tests/shunit2}/references/revert_option.result         | 0
 .../shunit2}/references/revert_option_multiline.result          | 0
 {test => tests/shunit2}/references/revert_section.result        | 0
 {test => tests/shunit2}/references/set_existing_option.data     | 0
 {test => tests/shunit2}/references/set_existing_option.result   | 0
 .../shunit2}/references/set_existing_option_multiline.result    | 0
 {test => tests/shunit2}/references/set_named_section.result     | 0
 {test => tests/shunit2}/references/set_nonexisting_option.data  | 0
 .../shunit2}/references/set_nonexisting_option.result           | 0
 .../shunit2}/references/set_nonexisting_option_multiline.result | 0
 {test => tests/shunit2}/references/set_parsing.data             | 0
 {test => tests/shunit2}/references/set_parsing_multiline.data   | 0
 {test => tests/shunit2}/references/show_parsing.data            | 0
 {test => tests/shunit2}/references/show_parsing_multiline.data  | 0
 .../shunit2}/references/show_parsing_multiline_option.result    | 0
 .../shunit2}/references/show_parsing_multiline_package.result   | 0
 .../shunit2}/references/show_parsing_multiline_section.result   | 0
 {test => tests/shunit2}/references/ucimap_example_1.result      | 0
 {test => tests/shunit2}/references/ucimap_example_2.result      | 0
 {test => tests/shunit2}/shunit2/shunit2                         | 0
 {test => tests/shunit2}/tests.d/000_import                      | 0
 {test => tests/shunit2}/tests.d/010_export                      | 0
 {test => tests/shunit2}/tests.d/020_get                         | 0
 {test => tests/shunit2}/tests.d/030_set                         | 0
 {test => tests/shunit2}/tests.d/040_add                         | 0
 {test => tests/shunit2}/tests.d/050_show                        | 0
 {test => tests/shunit2}/tests.d/060_batch                       | 0
 {test => tests/shunit2}/tests.d/070_revert                      | 0
 {test => tests/shunit2}/tests.d/080_list                        | 0
 {test => tests/shunit2}/tests.d/090_cli_options                 | 0
 {test => tests/shunit2}/tests.d/100_changes                     | 0
 {test => tests/shunit2}/tests.sh                                | 0
 53 files changed, 1 insertion(+), 1 deletion(-)
 rename {test => tests/shunit2}/Makefile (100%)
 rename {test => tests/shunit2}/README (100%)
 rename {test => tests/shunit2}/config/network (100%)
 rename {test => tests/shunit2}/references/add_list_changes.result (100%)
 rename {test => tests/shunit2}/references/add_list_config.result (100%)
 rename {test => tests/shunit2}/references/add_list_show.result (100%)
 rename {test => tests/shunit2}/references/add_section.result (100%)
 rename {test => tests/shunit2}/references/batch_comments.result (100%)
 rename {test => tests/shunit2}/references/batch_set.result (100%)
 rename {test => tests/shunit2}/references/cli.options.delta.commit.result (100%)
 rename {test => tests/shunit2}/references/cli.options.delta.export.result (100%)
 rename {test => tests/shunit2}/references/del_list_config.result (100%)
 rename {test => tests/shunit2}/references/del_list_multiline_config.result (100%)
 rename {test => tests/shunit2}/references/export.data (100%)
 rename {test => tests/shunit2}/references/export.result (100%)
 rename {test => tests/shunit2}/references/get.data (100%)
 rename {test => tests/shunit2}/references/get_multiline.data (100%)
 rename {test => tests/shunit2}/references/get_parsing.data (100%)
 rename {test => tests/shunit2}/references/import.data (100%)
 rename {test => tests/shunit2}/references/import.result (100%)
 rename {test => tests/shunit2}/references/revert_option.result (100%)
 rename {test => tests/shunit2}/references/revert_option_multiline.result (100%)
 rename {test => tests/shunit2}/references/revert_section.result (100%)
 rename {test => tests/shunit2}/references/set_existing_option.data (100%)
 rename {test => tests/shunit2}/references/set_existing_option.result (100%)
 rename {test => tests/shunit2}/references/set_existing_option_multiline.result (100%)
 rename {test => tests/shunit2}/references/set_named_section.result (100%)
 rename {test => tests/shunit2}/references/set_nonexisting_option.data (100%)
 rename {test => tests/shunit2}/references/set_nonexisting_option.result (100%)
 rename {test => tests/shunit2}/references/set_nonexisting_option_multiline.result (100%)
 rename {test => tests/shunit2}/references/set_parsing.data (100%)
 rename {test => tests/shunit2}/references/set_parsing_multiline.data (100%)
 rename {test => tests/shunit2}/references/show_parsing.data (100%)
 rename {test => tests/shunit2}/references/show_parsing_multiline.data (100%)
 rename {test => tests/shunit2}/references/show_parsing_multiline_option.result (100%)
 rename {test => tests/shunit2}/references/show_parsing_multiline_package.result (100%)
 rename {test => tests/shunit2}/references/show_parsing_multiline_section.result (100%)
 rename {test => tests/shunit2}/references/ucimap_example_1.result (100%)
 rename {test => tests/shunit2}/references/ucimap_example_2.result (100%)
 rename {test => tests/shunit2}/shunit2/shunit2 (100%)
 rename {test => tests/shunit2}/tests.d/000_import (100%)
 rename {test => tests/shunit2}/tests.d/010_export (100%)
 rename {test => tests/shunit2}/tests.d/020_get (100%)
 rename {test => tests/shunit2}/tests.d/030_set (100%)
 rename {test => tests/shunit2}/tests.d/040_add (100%)
 rename {test => tests/shunit2}/tests.d/050_show (100%)
 rename {test => tests/shunit2}/tests.d/060_batch (100%)
 rename {test => tests/shunit2}/tests.d/070_revert (100%)
 rename {test => tests/shunit2}/tests.d/080_list (100%)
 rename {test => tests/shunit2}/tests.d/090_cli_options (100%)
 rename {test => tests/shunit2}/tests.d/100_changes (100%)
 rename {test => tests/shunit2}/tests.sh (100%)
diff mbox series

Patch

diff --git a/.gitignore b/.gitignore
index 0407feb44c2b..652da1960acc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,4 @@  install_manifest.txt
 
 uci
 uci_config.h
-test/save
+tests/shunit2/save
diff --git a/test/Makefile b/tests/shunit2/Makefile
similarity index 100%
rename from test/Makefile
rename to tests/shunit2/Makefile
diff --git a/test/README b/tests/shunit2/README
similarity index 100%
rename from test/README
rename to tests/shunit2/README
diff --git a/test/config/network b/tests/shunit2/config/network
similarity index 100%
rename from test/config/network
rename to tests/shunit2/config/network
diff --git a/test/references/add_list_changes.result b/tests/shunit2/references/add_list_changes.result
similarity index 100%
rename from test/references/add_list_changes.result
rename to tests/shunit2/references/add_list_changes.result
diff --git a/test/references/add_list_config.result b/tests/shunit2/references/add_list_config.result
similarity index 100%
rename from test/references/add_list_config.result
rename to tests/shunit2/references/add_list_config.result
diff --git a/test/references/add_list_show.result b/tests/shunit2/references/add_list_show.result
similarity index 100%
rename from test/references/add_list_show.result
rename to tests/shunit2/references/add_list_show.result
diff --git a/test/references/add_section.result b/tests/shunit2/references/add_section.result
similarity index 100%
rename from test/references/add_section.result
rename to tests/shunit2/references/add_section.result
diff --git a/test/references/batch_comments.result b/tests/shunit2/references/batch_comments.result
similarity index 100%
rename from test/references/batch_comments.result
rename to tests/shunit2/references/batch_comments.result
diff --git a/test/references/batch_set.result b/tests/shunit2/references/batch_set.result
similarity index 100%
rename from test/references/batch_set.result
rename to tests/shunit2/references/batch_set.result
diff --git a/test/references/cli.options.delta.commit.result b/tests/shunit2/references/cli.options.delta.commit.result
similarity index 100%
rename from test/references/cli.options.delta.commit.result
rename to tests/shunit2/references/cli.options.delta.commit.result
diff --git a/test/references/cli.options.delta.export.result b/tests/shunit2/references/cli.options.delta.export.result
similarity index 100%
rename from test/references/cli.options.delta.export.result
rename to tests/shunit2/references/cli.options.delta.export.result
diff --git a/test/references/del_list_config.result b/tests/shunit2/references/del_list_config.result
similarity index 100%
rename from test/references/del_list_config.result
rename to tests/shunit2/references/del_list_config.result
diff --git a/test/references/del_list_multiline_config.result b/tests/shunit2/references/del_list_multiline_config.result
similarity index 100%
rename from test/references/del_list_multiline_config.result
rename to tests/shunit2/references/del_list_multiline_config.result
diff --git a/test/references/export.data b/tests/shunit2/references/export.data
similarity index 100%
rename from test/references/export.data
rename to tests/shunit2/references/export.data
diff --git a/test/references/export.result b/tests/shunit2/references/export.result
similarity index 100%
rename from test/references/export.result
rename to tests/shunit2/references/export.result
diff --git a/test/references/get.data b/tests/shunit2/references/get.data
similarity index 100%
rename from test/references/get.data
rename to tests/shunit2/references/get.data
diff --git a/test/references/get_multiline.data b/tests/shunit2/references/get_multiline.data
similarity index 100%
rename from test/references/get_multiline.data
rename to tests/shunit2/references/get_multiline.data
diff --git a/test/references/get_parsing.data b/tests/shunit2/references/get_parsing.data
similarity index 100%
rename from test/references/get_parsing.data
rename to tests/shunit2/references/get_parsing.data
diff --git a/test/references/import.data b/tests/shunit2/references/import.data
similarity index 100%
rename from test/references/import.data
rename to tests/shunit2/references/import.data
diff --git a/test/references/import.result b/tests/shunit2/references/import.result
similarity index 100%
rename from test/references/import.result
rename to tests/shunit2/references/import.result
diff --git a/test/references/revert_option.result b/tests/shunit2/references/revert_option.result
similarity index 100%
rename from test/references/revert_option.result
rename to tests/shunit2/references/revert_option.result
diff --git a/test/references/revert_option_multiline.result b/tests/shunit2/references/revert_option_multiline.result
similarity index 100%
rename from test/references/revert_option_multiline.result
rename to tests/shunit2/references/revert_option_multiline.result
diff --git a/test/references/revert_section.result b/tests/shunit2/references/revert_section.result
similarity index 100%
rename from test/references/revert_section.result
rename to tests/shunit2/references/revert_section.result
diff --git a/test/references/set_existing_option.data b/tests/shunit2/references/set_existing_option.data
similarity index 100%
rename from test/references/set_existing_option.data
rename to tests/shunit2/references/set_existing_option.data
diff --git a/test/references/set_existing_option.result b/tests/shunit2/references/set_existing_option.result
similarity index 100%
rename from test/references/set_existing_option.result
rename to tests/shunit2/references/set_existing_option.result
diff --git a/test/references/set_existing_option_multiline.result b/tests/shunit2/references/set_existing_option_multiline.result
similarity index 100%
rename from test/references/set_existing_option_multiline.result
rename to tests/shunit2/references/set_existing_option_multiline.result
diff --git a/test/references/set_named_section.result b/tests/shunit2/references/set_named_section.result
similarity index 100%
rename from test/references/set_named_section.result
rename to tests/shunit2/references/set_named_section.result
diff --git a/test/references/set_nonexisting_option.data b/tests/shunit2/references/set_nonexisting_option.data
similarity index 100%
rename from test/references/set_nonexisting_option.data
rename to tests/shunit2/references/set_nonexisting_option.data
diff --git a/test/references/set_nonexisting_option.result b/tests/shunit2/references/set_nonexisting_option.result
similarity index 100%
rename from test/references/set_nonexisting_option.result
rename to tests/shunit2/references/set_nonexisting_option.result
diff --git a/test/references/set_nonexisting_option_multiline.result b/tests/shunit2/references/set_nonexisting_option_multiline.result
similarity index 100%
rename from test/references/set_nonexisting_option_multiline.result
rename to tests/shunit2/references/set_nonexisting_option_multiline.result
diff --git a/test/references/set_parsing.data b/tests/shunit2/references/set_parsing.data
similarity index 100%
rename from test/references/set_parsing.data
rename to tests/shunit2/references/set_parsing.data
diff --git a/test/references/set_parsing_multiline.data b/tests/shunit2/references/set_parsing_multiline.data
similarity index 100%
rename from test/references/set_parsing_multiline.data
rename to tests/shunit2/references/set_parsing_multiline.data
diff --git a/test/references/show_parsing.data b/tests/shunit2/references/show_parsing.data
similarity index 100%
rename from test/references/show_parsing.data
rename to tests/shunit2/references/show_parsing.data
diff --git a/test/references/show_parsing_multiline.data b/tests/shunit2/references/show_parsing_multiline.data
similarity index 100%
rename from test/references/show_parsing_multiline.data
rename to tests/shunit2/references/show_parsing_multiline.data
diff --git a/test/references/show_parsing_multiline_option.result b/tests/shunit2/references/show_parsing_multiline_option.result
similarity index 100%
rename from test/references/show_parsing_multiline_option.result
rename to tests/shunit2/references/show_parsing_multiline_option.result
diff --git a/test/references/show_parsing_multiline_package.result b/tests/shunit2/references/show_parsing_multiline_package.result
similarity index 100%
rename from test/references/show_parsing_multiline_package.result
rename to tests/shunit2/references/show_parsing_multiline_package.result
diff --git a/test/references/show_parsing_multiline_section.result b/tests/shunit2/references/show_parsing_multiline_section.result
similarity index 100%
rename from test/references/show_parsing_multiline_section.result
rename to tests/shunit2/references/show_parsing_multiline_section.result
diff --git a/test/references/ucimap_example_1.result b/tests/shunit2/references/ucimap_example_1.result
similarity index 100%
rename from test/references/ucimap_example_1.result
rename to tests/shunit2/references/ucimap_example_1.result
diff --git a/test/references/ucimap_example_2.result b/tests/shunit2/references/ucimap_example_2.result
similarity index 100%
rename from test/references/ucimap_example_2.result
rename to tests/shunit2/references/ucimap_example_2.result
diff --git a/test/shunit2/shunit2 b/tests/shunit2/shunit2/shunit2
similarity index 100%
rename from test/shunit2/shunit2
rename to tests/shunit2/shunit2/shunit2
diff --git a/test/tests.d/000_import b/tests/shunit2/tests.d/000_import
similarity index 100%
rename from test/tests.d/000_import
rename to tests/shunit2/tests.d/000_import
diff --git a/test/tests.d/010_export b/tests/shunit2/tests.d/010_export
similarity index 100%
rename from test/tests.d/010_export
rename to tests/shunit2/tests.d/010_export
diff --git a/test/tests.d/020_get b/tests/shunit2/tests.d/020_get
similarity index 100%
rename from test/tests.d/020_get
rename to tests/shunit2/tests.d/020_get
diff --git a/test/tests.d/030_set b/tests/shunit2/tests.d/030_set
similarity index 100%
rename from test/tests.d/030_set
rename to tests/shunit2/tests.d/030_set
diff --git a/test/tests.d/040_add b/tests/shunit2/tests.d/040_add
similarity index 100%
rename from test/tests.d/040_add
rename to tests/shunit2/tests.d/040_add
diff --git a/test/tests.d/050_show b/tests/shunit2/tests.d/050_show
similarity index 100%
rename from test/tests.d/050_show
rename to tests/shunit2/tests.d/050_show
diff --git a/test/tests.d/060_batch b/tests/shunit2/tests.d/060_batch
similarity index 100%
rename from test/tests.d/060_batch
rename to tests/shunit2/tests.d/060_batch
diff --git a/test/tests.d/070_revert b/tests/shunit2/tests.d/070_revert
similarity index 100%
rename from test/tests.d/070_revert
rename to tests/shunit2/tests.d/070_revert
diff --git a/test/tests.d/080_list b/tests/shunit2/tests.d/080_list
similarity index 100%
rename from test/tests.d/080_list
rename to tests/shunit2/tests.d/080_list
diff --git a/test/tests.d/090_cli_options b/tests/shunit2/tests.d/090_cli_options
similarity index 100%
rename from test/tests.d/090_cli_options
rename to tests/shunit2/tests.d/090_cli_options
diff --git a/test/tests.d/100_changes b/tests/shunit2/tests.d/100_changes
similarity index 100%
rename from test/tests.d/100_changes
rename to tests/shunit2/tests.d/100_changes
diff --git a/test/tests.sh b/tests/shunit2/tests.sh
similarity index 100%
rename from test/tests.sh
rename to tests/shunit2/tests.sh