Lines Matching refs:rc
26 rc, out, err = runprog(prog)
27 self.assertNotEqual(0, rc)
33 rc, out, err = runprog(prog, '-c', 'case_nobmp.yaml', 'FOO')
34 self.assertNotEqual(0, rc)
39 rc, out, err = runprog(prog, '-c', 'case_badbmp.yaml', 'FOO')
40 self.assertNotEqual(0, rc)
45 rc, out, err = runprog(prog, '-z', '99', '-c', 'case_simple.yaml', 'FOO')
46 self.assertNotEqual(0, rc)
53 rc, out, err = runprog('/bin/rm', '-rf', './FOO_DIR', 'FOO')
54 self.assertEqual(0, rc)
58 rc, out, err = runprog(prog, '-c', 'case_simple.yaml', 'FOO')
59 self.assertEqual(0, rc)
60 rc, out, err = runprog(prog, '-x', '-d', './FOO_DIR', 'FOO')
61 self.assertEqual(0, rc)
62 rc, out, err = runprog(prog, '-x', '-d', './FOO_DIR', 'FOO')
63 self.assertNotEqual(0, rc)
65 rc, out, err = runprog(prog, '-x', '-d', './FOO_DIR', '-f', 'FOO')
66 self.assertEqual(0, rc)
69 rc, out, err = runprog('/bin/rm', '-rf', './FOO_DIR', 'FOO')
70 self.assertEqual(0, rc)
77 rc, out, err = runprog('/bin/rm', '-rf', './FOO_DIR', 'FOO')
78 self.assertEqual(0, rc)
82 rc, out, err = runprog(prog, '-c', 'case_simple.yaml', 'FOO')
83 self.assertEqual(0, rc)
84 rc, out, err = runprog(prog, '-x', '-d', './FOO_DIR', 'FOO')
85 self.assertEqual(0, rc)
87 rc, out, err = runprog(prog, '-c', 'config.yaml', 'BAR')
88 self.assertEqual(0, rc)
89 rc, out, err = runprog('/usr/bin/cmp', '../FOO', 'BAR')
90 self.assertEqual(0, rc)
95 rc, out, err = runprog(prog, '-z', comp, '-c', 'case_simple.yaml', 'FOO')
96 self.assertEqual(0, rc)
97 rc, out, err = runprog(prog, '-x', '-d', './FOO_DIR', 'FOO')
98 self.assertEqual(0, rc)
100 rc, out, err = runprog(prog, '-z', comp, '-c', 'config.yaml', 'BAR')
101 self.assertEqual(0, rc)
102 rc, out, err = runprog('/usr/bin/cmp', '../FOO', 'BAR')
103 self.assertEqual(0, rc)
117 rc, out, err = runprog(prog, '-z', comp, '-c', 'case_simple.yaml', 'FOO')
118 self.assertEqual(0, rc)
120 rc, out, err = runprog(prog, '-f', '-x', '-d', './FOO_DIR', 'FOO')
121 self.assertEqual(0, rc)
124 rc, out, err = runprog(prog, '-c', 'config.yaml', 'BAR')
125 self.assertEqual(0, rc)
127 rc, out, err = runprog('/usr/bin/cmp', '../FOO', 'BAR')
128 self.assertEqual(0, rc)
132 rc, out, err = runprog(prog, '-z', str(mycomp), '-c', 'config.yaml', 'BAR')
133 self.assertEqual(0, rc)
135 rc, out, err = runprog('/usr/bin/cmp', '../FOO', 'BAR')
136 self.assertNotEqual(0, rc)
147 rc, out, err = runprog('/bin/rm', '-rf', './FOO_DIR', 'FOO')
148 self.assertEqual(0, rc)
154 rc, out, err = runprog('/bin/rm', '-f', 'ORDER1', 'ORDER2')
155 self.assertEqual(0, rc)
163 rc, out, err = runprog(prog, '-c', 'case_order1.yaml', 'ORDER1')
164 self.assertEqual(0, rc)
165 rc, out, err = runprog(prog, '-c', 'case_order2.yaml', 'ORDER2')
166 self.assertEqual(0, rc)
167 rc, out, err = runprog('/usr/bin/cmp', 'ORDER1', 'ORDER2')
168 self.assertEqual(0, rc)
171 rc, out, err = runprog('/bin/rm', '-f', 'ORDER1', 'ORDER2')
172 self.assertEqual(0, rc)
177 rc, out, err = runprog('/bin/rm', '-rf', './FOO_DIR', 'FOO')
178 self.assertEqual(0, rc)
182 rc, out, err = runprog(prog, '-c', 'case_reuse.yaml', 'FOO')
183 self.assertEqual(0, rc)
184 rc, out, err = runprog(prog, '-x', '-d', './FOO_DIR', 'FOO')
185 self.assertEqual(0, rc)
187 rc, out, err = runprog(prog, '-c', 'config.yaml', 'BAR')
188 self.assertEqual(0, rc)
189 rc, out, err = runprog('/usr/bin/cmp', '../FOO', 'BAR')
190 self.assertEqual(0, rc)
194 rc, out, err = runprog('/bin/rm', '-rf', './FOO_DIR', 'FOO')
195 self.assertEqual(0, rc)