summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_abi.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-11-05 19:36:29 +0100
committerAndrew Bartlett <abartlet@samba.org>2012-11-06 08:27:44 +1100
commitd02c8ba122cef7d8b254e5be3ae757eb3bb14235 (patch)
tree72118ed215f6273386e2b802ebbac50c41fc3b9d /buildtools/wafsamba/samba_abi.py
parent97102fa9963ba88f4ab72165a02071990031a73b (diff)
downloadsamba-d02c8ba122cef7d8b254e5be3ae757eb3bb14235.tar.gz
samba-d02c8ba122cef7d8b254e5be3ae757eb3bb14235.tar.bz2
samba-d02c8ba122cef7d8b254e5be3ae757eb3bb14235.zip
wafsamba.samba_abi: Add basic unit tests.
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Diffstat (limited to 'buildtools/wafsamba/samba_abi.py')
-rw-r--r--buildtools/wafsamba/samba_abi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_abi.py b/buildtools/wafsamba/samba_abi.py
index eb53f8c69f..c325b3323e 100644
--- a/buildtools/wafsamba/samba_abi.py
+++ b/buildtools/wafsamba/samba_abi.py
@@ -176,7 +176,7 @@ def abi_write_vscript(f, libname, current_version, versions, symmap, abi_match):
if symver == current_version:
break
f.write("%s {\n" % symver)
- if k in invmap:
+ if k in sorted(invmap.keys()):
f.write("\tglobal:\n")
for s in invmap.get(k, []):
f.write("\t\t%s;\n" % s);