1 (set! %load-compiled-path (cons "@abs_top_builddir@/lisp" %load-compiled-path))
2 (primitive-load "@abs_builddir@/testing-common.scm")
4 (use-modules (gnu bash))
9 (test-equal "set/get" value (get-alias-value key))
10 (test-equal "expand" value (alias-expand key)))
11 '("foo" "*bar" "**unknow" "!!bar")
12 '("cat" "cat" "cat" "cat"))
13 (test-equal 4 (length (all-aliases)))
15 (test-equal '() (all-aliases))
16 (add-alias #:some-alias #:some-value)
17 (test-equal "some-value" (get-alias-value 'some-alias))
19 (add-alias "the-alias" "some expansion"))