openbsd-ports/security/hs-crypto/patches/patch-test_sh
dons 1c933f166f Import hs-crypto-1.1.2
Haskell Cryptographic Library 1.1.2

This library collects together existing Haskell cryptographic functions
2004-05-03 07:36:32 +00:00

17 lines
392 B
Plaintext

$OpenBSD: patch-test_sh,v 1.1.1.1 2004/05/03 07:36:32 dons Exp $
Provide a basic testsuite
--- test.sh.orig 2004-05-02 15:55:04.000000000 +1000
+++ test.sh 2004-05-02 15:54:50.000000000 +1000
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+PFLAG="-package-conf ./package.conf.inplace"
+
+ghc -o Test Test.hs $PFLAG -package crypto
+./Test
+
+ghc -o RSATest RSATest.hs $PFLAG -package crypto
+./RSATest