s4:torture/smb2: add smb2_create_simple_file() and torture_setup_simple_file()
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Feb 2019 15:51:20 +0000 (16:51 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 28 Mar 2019 23:09:37 +0000 (23:09 +0000)
commit4ffb517ffd9cee0ad433e3f58f659f8445fa2166
tree6613e6477b03b08796e95bc944899c7e7767c376
parente6fa76b651de6a3046ca9c44926343a5225772d6
s4:torture/smb2: add smb2_create_simple_file() and torture_setup_simple_file()

Instead of the *_complex_file() versions these don't use EA's nor
complex timestamps.

A lot of tests currently using *_complex_file() only fail because
smbd doesn't implement the correct 'change_time' update behavior.
That should not be the reason why all smb2 related tests fail.

Timestamps should be tested in dedicated tests.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13864

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/util.c