sysv-generator test: Fix random ordering failure
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 1 Jul 2015 05:34:23 +0000 (07:34 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 1 Jul 2015 05:34:23 +0000 (07:34 +0200)
commit52a321d839b366d40fdd72bbb6c494016fa3d608
treef8699a302e162eedd83e3aad809f4f0a128234e3
parent64ea3f926dfd43b52d7ef0399e44ce00587b5993
sysv-generator test: Fix random ordering failure

test_simple_escaped() sometimes fails with

AssertionError: Lists differ: ['foo\\x2b.service', 'foo-admin.service'] != ['foo-admin.service', 'foo\\x2b.service']

We don't need to assume any order here, so compare them as a set, not a list.
test/sysv-generator-test.py