mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
selftest: sort dbcheck output to avoid sort order impacting results
The GUID index code will change the returned results order Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
parent
9e9a8d8f88
commit
da575f0131
@ -59,7 +59,9 @@ dbcheck() {
|
||||
if [ "$?" != "1" ]; then
|
||||
return 1
|
||||
fi
|
||||
diff $tmpfile $release_dir/expected-dbcheck-link-output.txt
|
||||
sort $tmpfile > $tmpfile.sorted
|
||||
sort $release_dir/expected-dbcheck-link-output.txt > $tmpfile.expected
|
||||
diff -u $tmpfile.sorted $tmpfile.expected
|
||||
if [ "$?" != "0" ]; then
|
||||
return 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user