]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/load-relative/test/install-pkgs.el
Add 'packages/load-relative/' from commit '064074d7dcc8d26d59ab9ceb099b43e6870c58d1'
[gnu-emacs-elpa] / packages / load-relative / test / install-pkgs.el
diff --git a/packages/load-relative/test/install-pkgs.el b/packages/load-relative/test/install-pkgs.el
new file mode 100644 (file)
index 0000000..d43575c
--- /dev/null
@@ -0,0 +1,24 @@
+;; Copyright (C) 2015 Free Software Foundation, Inc
+
+;; Author: Rocky Bernstein <rocky@gnu.org>
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+(require 'package)
+(package-refresh-contents)
+(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")))
+(condition-case nil
+    (package-install 'test-simple)
+  ((debug error) nil))
+(load-library "test-simple")