From 8daa83a594a2e98f39d764422bfbdbc62c9efd44 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 19:20:00 +0200 Subject: Adding upstream version 2:4.20.0+dfsg. Signed-off-by: Daniel Baumann --- source3/script/tests/xattr-tdb-1/run.sh | 52 ++++++++++++++++++++++++++++ source3/script/tests/xattr-tdb-1/vfstest.cmd | 6 ++++ 2 files changed, 58 insertions(+) create mode 100755 source3/script/tests/xattr-tdb-1/run.sh create mode 100644 source3/script/tests/xattr-tdb-1/vfstest.cmd (limited to 'source3/script/tests/xattr-tdb-1') diff --git a/source3/script/tests/xattr-tdb-1/run.sh b/source3/script/tests/xattr-tdb-1/run.sh new file mode 100755 index 0000000..eb32a95 --- /dev/null +++ b/source3/script/tests/xattr-tdb-1/run.sh @@ -0,0 +1,52 @@ +#!/bin/sh +if [ $# -lt 2 ]; then + cat </dev/null 2>&1 + + if [ $? = 0 ]; then + # got ACCESS_DENIED .. fail + echo vfstest got NT_STATUS_ACCESS_DENIED + false + else + true + fi +} + +testit "vfstest" test_vfstest || failed=$(expr $failed + 1) + +exit $failed diff --git a/source3/script/tests/xattr-tdb-1/vfstest.cmd b/source3/script/tests/xattr-tdb-1/vfstest.cmd new file mode 100644 index 0000000..5eb7158 --- /dev/null +++ b/source3/script/tests/xattr-tdb-1/vfstest.cmd @@ -0,0 +1,6 @@ +connect +open x RC 0700 +setxattr x y z +listxattr x +stat x +unlink x -- cgit v1.2.3