summaryrefslogtreecommitdiff
path: root/Com/Simatime/Serval
diff options
context:
space:
mode:
Diffstat (limited to 'Com/Simatime/Serval')
-rw-r--r--Com/Simatime/Serval/Test.scm11
-rwxr-xr-x[-rw-r--r--]Com/Simatime/Serval/hardware.nix0
-rwxr-xr-x[-rw-r--r--]Com/Simatime/Serval/networking.nix0
3 files changed, 11 insertions, 0 deletions
diff --git a/Com/Simatime/Serval/Test.scm b/Com/Simatime/Serval/Test.scm
new file mode 100644
index 0000000..44e88c0
--- /dev/null
+++ b/Com/Simatime/Serval/Test.scm
@@ -0,0 +1,11 @@
+(define-module (Com Simatime Serval Test)
+ #:use-module (Com Simatime Serval)
+ #:use-module (Com Simatime core)
+ #:use-module (Com Simatime Test))
+
+(comment
+ ;; TODO: make this a real test
+ (let ((kit (Kit "test-kit" "/nix/path" "/nix/config"
+ "123.456.0.0" 80 "127.0.0.1" #t)))
+ (testing "ser-deser are opposite functions"
+ (equal? kit (deserialize (serialize kit))))))
diff --git a/Com/Simatime/Serval/hardware.nix b/Com/Simatime/Serval/hardware.nix
index 8c88cb7..8c88cb7 100644..100755
--- a/Com/Simatime/Serval/hardware.nix
+++ b/Com/Simatime/Serval/hardware.nix
diff --git a/Com/Simatime/Serval/networking.nix b/Com/Simatime/Serval/networking.nix
index e13a6f5..e13a6f5 100644..100755
--- a/Com/Simatime/Serval/networking.nix
+++ b/Com/Simatime/Serval/networking.nix