dir: check afs_dir_MakeDir return code in dtest 97/13797/6
authorMark Vitale <mvitale@sinenomine.net>
Thu, 7 Mar 2019 19:31:49 +0000 (14:31 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 8 Oct 2020 04:16:37 +0000 (00:16 -0400)
commit6ac68ca514932262fa949eca50527735ff5c09a4
tree796ae9ec2a02be8775d3491cb50ac2b8c4a2493f
parentc5a9d4447d69d72de3304781194fa392a7c6e1d8
dir: check afs_dir_MakeDir return code in dtest

The dtest test program ignores the return from afs_dir_Makedir.

Fix this so errors may be identified in testing.

While here, also improve the diagnostic message for afs_dir_Create
failures, to make it consistent with the new diagnostic message for
afs_dir_MakeDir failures.

Change-Id: Ib882947e01c864344f17faad8a646b2487793f29
Reviewed-on: https://gerrit.openafs.org/13797
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/dir/test/dtest.c