Update test/test.el to match current el-get expectations. 3 test passes.

This commit is contained in:
Dimitri Fontaine 2011-10-25 21:11:25 +02:00
parent 9b810aa9a4
commit bed23e1be6

View File

@ -60,7 +60,8 @@
(el-get-sources `((:name ,pkg
:features (,pkg)
:type http
:url ,(concat "file://" pkg-source)))))
:url ,(concat "file://" pkg-source))))
(el-get-packages (mapcar 'el-get-source-name el-get-sources)))
(make-directory el-get-dir t)
(unwind-protect
(progn
@ -75,7 +76,7 @@
(should-not (zerop (nth 7 (file-attributes pkg-source))))
(message "Installing %s" pkg)
(should (progn
(el-get 'sync el-get-sources)
(el-get 'sync el-get-packages)
t))
(message "Verifying installed package file %s" pkg-destination)
(should (file-exists-p pkg-destination))