Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison tests/farray-array.t @ 719:b2757e72b517
farray.sh: The first preparations to allow arrays/alists as values in other arrays or alists
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 04 Oct 2024 23:18:10 +0200 |
| parents | f4725ad5cd21 |
| children | a97ec3f07bdb |
comparison
equal
deleted
inserted
replaced
| 718:2502e077d5e9 | 719:b2757e72b517 |
|---|---|
| 1043 $ falist_type TEST | 1043 $ falist_type TEST |
| 1044 array (no-eol) | 1044 array (no-eol) |
| 1045 $ farray_isarray TEST | 1045 $ farray_isarray TEST |
| 1046 $ farray_destroy TEST | 1046 $ farray_destroy TEST |
| 1047 $ check_no_array_artifacts | 1047 $ check_no_array_artifacts |
| 1048 | |
| 1049 | |
| 1050 Generic Destruction | |
| 1051 =================== | |
| 1052 | |
| 1053 $ farray_create TEST i1 i2 | |
| 1054 $ farray_debug TEST | |
| 1055 DEBUG: array `TEST' has length 2 | |
| 1056 DEBUG: its contents: | |
| 1057 DEBUG: 1: `i1' | |
| 1058 DEBUG: 2: `i2' | |
| 1059 $ _farr_destroy_object "$TEST" | |
| 1060 $ check_no_array_artifacts | |
| 1061 $ (_farr_destroy_object "$TEST") | |
| 1062 ERROR: farray with token value `_farr_A\*_([a-f0-9]+)' not created properly: no storage for token `\1' (re) | |
| 1063 [1] | |
| 1064 $ TEST='' | |
| 1065 $ _farr_destroy_object "$TEST" | |
| 1066 $ check_no_array_artifacts |
