diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-03-08 22:21:03 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-03-08 22:21:03 -0900 |
| commit | 6dc089bfd10d306579cd7b1628747e9893fdde63 (patch) | |
| tree | 3af51f0296c2c58d26115c81c7ad969c519de17a /tests/test-array-sorted.c | |
| parent | 9299586f22ed29412dda4e52a848d3ef2143d86c (diff) | |
| download | tinyrad-6dc089bfd10d306579cd7b1628747e9893fdde63.tar.gz tinyrad-6dc089bfd10d306579cd7b1628747e9893fdde63.tar.bz2 tinyrad-6dc089bfd10d306579cd7b1628747e9893fdde63.tar.xz tinyrad-6dc089bfd10d306579cd7b1628747e9893fdde63.zip | |
tests: replacing our_random_str() with trutils_strrand()
Diffstat (limited to 'tests/test-array-sorted.c')
| -rw-r--r-- | tests/test-array-sorted.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-array-sorted.c b/tests/test-array-sorted.c index 4b51eaa..ef86c12 100644 --- a/tests/test-array-sorted.c +++ b/tests/test-array-sorted.c | |||
| @@ -287,7 +287,7 @@ int main( int argc, char * argv[] ) | |||
| 287 | { | 287 | { |
| 288 | data[pos].value = (int)(~pos); | 288 | data[pos].value = (int)(~pos); |
| 289 | data[pos].opts = (int)pos; | 289 | data[pos].opts = (int)pos; |
| 290 | data[pos].name = (pos < len) ? strdup(test_strs[pos]) : our_random_str(8, 8); | 290 | data[pos].name = (pos < len) ? strdup(test_strs[pos]) : trutils_strrand(8, 8); |
| 291 | if (!(data[pos].name)) | 291 | if (!(data[pos].name)) |
| 292 | { | 292 | { |
| 293 | for(; (pos > 0); pos--) | 293 | for(; (pos > 0); pos--) |
