diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-10-14 16:15:32 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-10-14 16:19:15 +0300 |
commit | 9cf45f0c658b583ee1ebdcb3d6345ad290993d68 (patch) | |
tree | 2026a3e4fae1ad7e68cd5e3ff01446605e1a7df8 /tests/Makefile.am | |
parent | 740068b42c4097515a0c531209cc6b49c4453426 (diff) | |
download | grecs-9cf45f0c658b583ee1ebdcb3d6345ad290993d68.tar.gz grecs-9cf45f0c658b583ee1ebdcb3d6345ad290993d68.tar.bz2 |
Fix list sort in case of an already sorted input.
* src/sort.c (_qsort_nodelist): Avoid infinite recursion on
an already sorted input.
* tests/sort00.at: New file.
* tests/sort01.at: New file.
* tests/Makefile.am: Add new test cases.
* tests/testsuite.at: Likewise.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 78a3119..28e70f9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -103,6 +103,8 @@ TESTSUITE_AT = \ reduce02.at\ reduce03.at\ set.at\ + sort00.at\ + sort01.at\ testsuite.at\ @GRECS_DISTCK_AT@ |