[functional-tests] start working on dm-ioctl bindings

This commit is contained in:
Joe Thornber
2017-09-26 15:16:45 +01:00
parent a1acd0c868
commit 742629fb8d
5 changed files with 686 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
(library
(device-mapper dm-tests)
(export register-dm-tests)
(import (device-mapper ioctl)
(chezscheme)
(functional-tests)
(fmt fmt)
(process)
(temp-file))
;; We have to export something that forces all the initialisation expressions
;; to run.
(define (register-dm-tests) #t)
;;;-----------------------------------------------------------
;;; scenarios
;;;-----------------------------------------------------------
(define-scenario (dm create-interface)
"create and destroy an ioctl interface object"
(with-dm (dm) #t))
)