io-pathconf.lisp 767 B

12345678910111213141516171819
  1. (in-package :translator-test)
  2. (def-test-method pathconf-test ((test io-test))
  3. (with-testport (root (file-name-lookup +translator-root+))
  4. (assert-equal -1 (io-pathconf root :link-max))
  5. (assert-equal -1 (io-pathconf root :max-input))
  6. (assert-equal -1 (io-pathconf root :pipe-buf))
  7. (assert-equal -1 (io-pathconf root :vdisable))
  8. (assert-equal -1 (io-pathconf root :sock-maxbuf))
  9. (assert-equal 1024 (io-pathconf root :name-max))
  10. (assert-equal 1 (io-pathconf root :chown-restricted))
  11. (assert-equal 1 (io-pathconf root :no-trunc))
  12. (assert-equal 0 (io-pathconf root :prio-io))
  13. (assert-equal 0 (io-pathconf root :sync-io))
  14. (assert-equal 0 (io-pathconf root :async-io))
  15. (assert-equal 32 (io-pathconf root :filesizebits))))