test-extensions 399 B

12345678910111213141516
  1. #!/bin/sh
  2. exec guile -q -s "$0" "$@"
  3. !#
  4. (load-extension (string-append (getenv "builddir") "/libtest-extensions")
  5. "libtest_extensions_init")
  6. (load-extension (string-append (getenv "builddir") "/libtest-extensions")
  7. "libtest_extensions_init2")
  8. (or (= init2-count 1)
  9. (error "init2 called more or less than one time"))
  10. ;; Local Variables:
  11. ;; mode: scheme
  12. ;; End: