summaryrefslogtreecommitdiff
path: root/tests/test-basic-user.sh
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2014-12-05 14:40:15 +0100
committerAlexander Larsson <alexl@redhat.com>2014-12-08 10:39:44 +0100
commitfcd3caf6dd25d5bbac2a708fdbfd11ef354c9eb4 (patch)
treeb4adc132c6449348aaf96717bf7fefda45bbce81 /tests/test-basic-user.sh
parenta3422791d42bd6da1d1341f040cf7f295cd15201 (diff)
downloadostree-fcd3caf6dd25d5bbac2a708fdbfd11ef354c9eb4.tar.gz
Add test-basic-user.sh testing for bare-user repos
This just does whatever test-basic.sh does, but on a bare-user repo. This works standalone, but unfortunately it breaks in gnome-desktop-testing-runner as /tmp doesn't support xattrs, so it is not installed atm. https://bugzilla.gnome.org/show_bug.cgi?id=741125
Diffstat (limited to 'tests/test-basic-user.sh')
-rwxr-xr-xtests/test-basic-user.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/test-basic-user.sh b/tests/test-basic-user.sh
new file mode 100755
index 00000000..c1705254
--- /dev/null
+++ b/tests/test-basic-user.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+#
+# Copyright (C) 2011 Colin Walters <walters@verbum.org>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library 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
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+set -e
+
+echo "1..1"
+
+. $(dirname $0)/libtest.sh
+
+setup_test_repository "bare-user"
+echo "ok setup"
+
+. $(dirname $0)/basic-test.sh