diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/raw/qfileinfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/raw/qfileinfo.c b/source4/torture/raw/qfileinfo.c index 43ab04460f..0f7b2dfb63 100644 --- a/source4/torture/raw/qfileinfo.c +++ b/source4/torture/raw/qfileinfo.c @@ -655,7 +655,9 @@ BOOL torture_raw_qfileinfo(int dummy) #define NAME_PATH_CHECK(sname, stype, field) do { \ s1 = fname_find(sname); s2 = fnum_find(sname); \ - VAL_EQUAL(stype, field, stype, field); \ + if (s1 && s2) { \ + VAL_EQUAL(stype, field, stype, field); \ + } \ } while (0) NAME_PATH_CHECK("INTERNAL_INFORMATION", internal_information, device); |