Message ID | CAPcyv4gRADddnVHo07EGebMthVfd6mPjHk3p6_-HTgEMgAENPA@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/test/dax-poison.c b/test/dax-poison.c index a25bf0b17d61..3cf2c108ca81 100644 --- a/test/dax-poison.c +++ b/test/dax-poison.c @@ -145,7 +145,9 @@ clear_error: x = *(volatile unsigned *) addr + align / 2; rc = 0; + fprintf(stderr, "%s: rc: %d\n", __func__, rc); out: + fprintf(stderr, "%s: rc: %d\n", __func__, rc); if (addr != MAP_FAILED) munmap(addr, 2 * align); free(buf); diff --git a/test/dax.sh b/test/dax.sh index 2a82281edb35..016fea5bb0bf 100755 --- a/test/dax.sh +++ b/test/dax.sh @@ -90,4 +90,5 @@ json=$($NDCTL create-namespace -m raw -f -e $dev) eval $(echo $json | sed -e "$json2var") [ $mode != "fsdax" ] && echo "fail: $LINENO" && exit 1 -exit 0 +echo "rc: $rc" +exit $rc