summaryrefslogtreecommitdiff
path: root/source3/selftest/tests.py
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2020-06-22 13:44:12 -0700
committerJeremy Allison <jra@samba.org>2020-06-24 18:53:32 +0000
commitf206d37f6ec8143b2051a8fe15783c188344adbe (patch)
tree71c45bc8acc4089cdcc0d28a3d9591a7cec47e2d /source3/selftest/tests.py
parentab50d348d9357dcf18863161992cdf49038c954a (diff)
downloadsamba-f206d37f6ec8143b2051a8fe15783c188344adbe.tar.gz
s3: selftest: Add samba3.blackbox.aio-outstanding test.
Shows smbd panics if connection is terminated (torn down) by killing the client with outstanding aio requests in the queue. As we're closing smbd we should cope with this. Followup-bugfix for: BUG: https://bugzilla.samba.org/show_bug.cgi?id=14301 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/selftest/tests.py')
-rwxr-xr-xsource3/selftest/tests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index cfca26359c3..cfdfaa98c84 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -966,6 +966,14 @@ plantestsuite("samba3.blackbox.net_tdb", "simpleserver:local",
smbclient3, '$SERVER', 'tmp', '$USERNAME', '$PASSWORD',
configuration, '$LOCAL_PATH', '$LOCK_DIR'])
+plantestsuite("samba3.blackbox.aio-outstanding", "simpleserver:local",
+ [os.path.join(samba3srcdir,
+ "script/tests/test_aio_outstanding.sh"),
+ configuration,
+ os.path.join(bindir(), "smbclient"),
+ '$SERVER_IP',
+ "aio_delay_inject"])
+
plantestsuite("samba3.blackbox.smbd_error", "simpleserver:local",
[os.path.join(samba3srcdir, "script/tests/test_smbd_error.sh")])