1
0
mirror of https://github.com/albfan/bash-ini-parser.git synced 2025-07-31 10:24:19 +03:00
Commit Graph

53 Commits

Author SHA1 Message Date
89591e5d54 Correction t0001 and t0003
Values in an array in an output ini file must be without inverted
commas. Otherwise the values are considered as a multiword value. It is
the same way as in whitespace.ini (t0001) where var4 is a multiword
value and var5 is an array.

+ 10 points for word "pivo" in whitespace.ini. I am Czech. :-)
2018-05-27 13:42:34 +02:00
bd9d847d2c t0008 solved 2018-05-27 13:21:29 +02:00
1ffb010e00 Inverted commas change an array to a variable.
t0008
2018-05-27 13:18:47 +02:00
1795919044 every test is a separate test 2018-05-27 13:18:47 +02:00
c315ff362b mark t0008 as expected to fail 2018-05-27 13:08:07 +02:00
7b530504ed ignore autotools build-aux 2018-05-27 13:07:50 +02:00
3579a2ee08 Test case - array. 2018-05-27 13:05:03 +02:00
cd0a4314b1 detect failures or expected failures 2018-05-27 12:55:44 +02:00
65721b3ecb add manually test-driver 2018-05-27 12:55:44 +02:00
7d10b0d0a0 Use stderr instead of a file. 2018-05-26 12:17:51 +02:00
6ed878d1b0 Unwanted file test.
File "2" is created after using cfg_writer.
2018-05-26 12:17:05 +02:00
45ecd6c72e Remove duplication from created ini file.
t0006
2018-05-26 12:12:20 +02:00
47dddefc36 Show errors on CI 2018-05-26 12:05:12 +02:00
0ce2bee87b Update variable test. 2018-05-25 19:47:53 +02:00
cc2f5542d7 test: mark test as success 2018-05-25 07:01:47 +02:00
c59e84c66d length=${#FUNCNAME/#cfg_section_;[*]}: bad substitution - solution 2018-05-25 07:01:47 +02:00
f444e64fee test: mark test as failed 2018-05-25 07:01:47 +02:00
06cb76faa6 test: adding test to test suite 2018-05-25 07:01:47 +02:00
66c0ef705e Test case - create new var.
.../bash-ini-parser/t$ bash t0005-new_var.sh
not ok 1 - Parse new var
1..1
2018-05-24 17:59:52 +02:00
695e55f986 Add projects using bash-ini-parser 2018-05-07 08:03:05 +02:00
8fb28305a4 Add GPLv3 license 2018-05-07 08:03:05 +02:00
d73cdd267d rename test to whitespace
Add more whitespace test
2018-01-27 09:37:23 +01:00
739196e824 Add continuous integration 2018-01-23 01:38:40 +01:00
c6a35fc28b remove only real comments
fixes #12
2018-01-22 22:58:51 +01:00
b55c55f5fd move comments to debug 2018-01-22 22:58:37 +01:00
4e9ab7ab5c fix whitespace 2018-01-22 22:58:37 +01:00
0184648014 add broken test for comments 2018-01-22 22:58:37 +01:00
2ddf0abc5c add dynamic DEBUG 2018-01-22 22:58:37 +01:00
6e2175dc72 fix typo 2018-01-22 22:43:28 +01:00
871153778b Remove hashtag comments 2017-12-16 16:31:25 +01:00
86622e1cbe dos2unix issue fixed 2017-12-16 16:25:44 +01:00
7ccb706eb1 add tap test output 2015-06-29 22:01:36 +02:00
a5e1dd880d add continuous integration 2015-05-17 11:02:48 +02:00
38a73044cf remove example test case file 2015-05-17 10:48:23 +02:00
f39fc72170 test sections
closes #4
2015-05-17 10:47:57 +02:00
763965c8b8 project is bash dependent 2015-05-17 09:48:58 +02:00
1be6551065 test invalid ini files
it is break by now

relates to #4
2015-05-16 21:35:31 +02:00
389ef3f00f whitespace use case
relates to #4
2015-05-16 20:43:48 +02:00
f2c5703806 operate by section 2015-05-16 20:37:43 +02:00
d0681d2421 unset function
clear previous definition (if exist) before load it

closes #6
2015-05-16 20:36:27 +02:00
a635d175ce clear function 2015-05-16 20:36:17 +02:00
affa300da5 debug clearly
marks for start and end of file parsed

relates to #7
2015-05-16 20:35:01 +02:00
b9a3ce5bfc Added test suite
relates to #4
2015-05-16 18:38:46 +02:00
5288f0e93a Merge commit '2d24f2698e5fe7369f9365619aaf088c5524ab0b' as 't/sharness' 2015-05-16 11:37:33 +02:00
2d24f2698e Squashed 't/sharness/' content from commit 665e154
git-subtree-dir: t/sharness
git-subtree-split: 665e154c365762867ce537a7ca6328516ccd5b44
2015-05-16 11:37:33 +02:00
b8e6a6c4ed document sh alternatives 2015-05-16 10:13:36 +02:00
20466a593c allow updates
closes #3
2015-05-15 20:01:17 +02:00
3a8520b348 choose a more standard prefix
closes #1
2015-05-15 18:59:28 +02:00
3620e29e67 better example file
more verbose
show all sections
allow custom ini file
2015-05-15 18:42:38 +02:00
d4da89a1be support complex whitespace indentation
closes #2
2015-05-15 18:37:33 +02:00