r18517: I find it less confusing if tests are run in the order they are
authorAndrew Tridgell <tridge@samba.org>
Thu, 14 Sep 2006 11:47:13 +0000 (11:47 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:18:41 +0000 (14:18 -0500)
added.
(This used to be commit 3e1844b2b229d6e84436d6c455bef707d0efcafc)

source4/torture/ui.c

index 7ebaf2b7e905e434c9e89795b1fe869b0fa781e4..50bb2482d726de4bb79654425b25f8bce0cf1e02 100644 (file)
@@ -93,7 +93,7 @@ struct torture_test *torture_tcase_add_test(struct torture_tcase *tcase,
        test->dangerous = False;
        test->data = data;
 
-       DLIST_ADD(tcase->tests, test);
+       DLIST_ADD_END(tcase->tests, test, struct torture_test *);
 
        return test;
 }