chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Macroize submit buttons so we can mess with them more easily
[disorder]
/
tests
/
user-upgrade.py
diff --git
a/tests/user-upgrade.py
b/tests/user-upgrade.py
index 61417148a345e36067d6684c215b53edfeb4979f..d35e4f6adf1771d17477f8f3889ae7c2ad629952 100755
(executable)
--- a/
tests/user-upgrade.py
+++ b/
tests/user-upgrade.py
@@
-1,7
+1,7
@@
#! /usr/bin/env python
#
# This file is part of DisOrder.
#! /usr/bin/env python
#
# This file is part of DisOrder.
-# Copyright (C) 2007 Richard Kettlewell
+# Copyright (C) 2007
, 2008
Richard Kettlewell
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-25,6
+25,7
@@
def test():
print " testing upgrade from old versions"
open("%s/config" % dtest.testroot, "a").write(
"""allow fred fredpass
print " testing upgrade from old versions"
open("%s/config" % dtest.testroot, "a").write(
"""allow fred fredpass
+trust fred
""")
dtest.start_daemon()
print " checking can log in after upgrade"
""")
dtest.start_daemon()
print " checking can log in after upgrade"