tests: fix not-exist test, sqlfs functions return negative error values

errno is not used at all with sqlfs_proc_* functions, instead the correct
thing is to check the return value.  It is 0 if successful, and negative if
not.  The negative values are negative versions of the standard errors.