summaryrefslogtreecommitdiff
path: root/source4/torture/raw/context.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-25 02:36:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:37 -0500
commit3cf018b517de0afa006ac14d5185e3c95d8a923b (patch)
treebde8705421bbb7e66fbb4e2beb63597f37349bbe /source4/torture/raw/context.c
parent8af9b5e42e7e1a356e6401079ed5d035f9cc8636 (diff)
downloadsamba-3cf018b517de0afa006ac14d5185e3c95d8a923b.tar.gz
samba-3cf018b517de0afa006ac14d5185e3c95d8a923b.tar.bz2
samba-3cf018b517de0afa006ac14d5185e3c95d8a923b.zip
r3180: - basic support for SEC_RIGHT_MAXIMUM_ALLOWED in pvfs
- RAW-CONTEXT test now passes (This used to be commit 0dae9fef09ec8bce19c39a0caf36e0882e507bc4)
Diffstat (limited to 'source4/torture/raw/context.c')
-rw-r--r--source4/torture/raw/context.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c
index 33eab4a0c3..85357e2535 100644
--- a/source4/torture/raw/context.c
+++ b/source4/torture/raw/context.c
@@ -24,24 +24,24 @@
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \
- printf("(%d) Incorrect status %s - should be %s\n", \
- __LINE__, nt_errstr(status), nt_errstr(correct)); \
+ printf("(%s) Incorrect status %s - should be %s\n", \
+ __location__, nt_errstr(status), nt_errstr(correct)); \
ret = False; \
goto done; \
}} while (0)
#define CHECK_VALUE(v, correct) do { \
if ((v) != (correct)) { \
- printf("(%d) Incorrect value %s=%d - should be %d\n", \
- __LINE__, #v, v, correct); \
+ printf("(%s) Incorrect value %s=%d - should be %d\n", \
+ __location__, #v, v, correct); \
ret = False; \
goto done; \
}} while (0)
#define CHECK_NOT_VALUE(v, correct) do { \
if ((v) == (correct)) { \
- printf("(%d) Incorrect value %s=%d - should not be %d\n", \
- __LINE__, #v, v, correct); \
+ printf("(%s) Incorrect value %s=%d - should not be %d\n", \
+ __location__, #v, v, correct); \
ret = False; \
goto done; \
}} while (0)