summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-14 11:47:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:41 -0500
commit0541807adfc05a941067fae34bd70b3fe64d7e39 (patch)
tree55e0baf7529256691ce9c42522b452cdec826fa6 /source4
parent785822590cee196acd40e45fd38b1ffb0606757e (diff)
downloadsamba-0541807adfc05a941067fae34bd70b3fe64d7e39.tar.gz
samba-0541807adfc05a941067fae34bd70b3fe64d7e39.tar.bz2
samba-0541807adfc05a941067fae34bd70b3fe64d7e39.zip
r18517: I find it less confusing if tests are run in the order they are
added. (This used to be commit 3e1844b2b229d6e84436d6c455bef707d0efcafc)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/ui.c b/source4/torture/ui.c
index 7ebaf2b7e9..50bb2482d7 100644
--- a/source4/torture/ui.c
+++ b/source4/torture/ui.c
@@ -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;
}