0b353a620424d3e7e3275aa973effd0bb6e9d7eb
Because of argument order to assert, in case of fail, we'll get message like: ... obtained string = "uid=100(test) gid=101(test)\n" ... expected string = "uid=100(test) gid=101(test) groups=101(test)\n" But obtained string should be second one, not the first one. And expected string should be first. Here's sample output from test above: ... Output: before restart 'uid=100(test) gid=101(test) ', after restart 'uid=100(test) gid=101(test) groups=101(test) It's confusing, because expected order of strings in assertion is reversed. What goes before restart - should be "expected string" and what goes after - should be "obtained string". Signed-off-by: Vitaly Ostrosablin <vostrosablin@virtuozzo.com> Upstream-commit: 07cc701947533089fac5fea42e7d5a9a6ea1cfcc Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%