Merge lp:~xnox/ubuntu-test-cases/desktop-btrfs into lp:ubuntu-test-cases/desktop

Proposed by Dimitri John Ledkov
Status: Merged
Merged at revision: 48
Proposed branch: lp:~xnox/ubuntu-test-cases/desktop-btrfs
Merge into: lp:ubuntu-test-cases/desktop
Diff against target: 73 lines (+59/-0)
3 files modified
preseeds/default_btrfs.cfg (+41/-0)
runlists/default_btrfs.run (+8/-0)
scripts/default_btrfs.cfg (+10/-0)
To merge this branch: bzr merge lp:~xnox/ubuntu-test-cases/desktop-btrfs
Reviewer Review Type Date Requested Status
Ubuntu Test Case Developers Pending
Review via email: mp+204788@code.launchpad.net

Description of the change

Add btrfs job.

I'm unable to test this, as my utah setup might be broken - it doesn't remove the CD from the virtual machine after provisioning, therefore i'm stuck in an install loop. But this test is expected to work.
Please try running this default_btrfs runlist before merging.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'preseeds/default_btrfs.cfg'
2--- preseeds/default_btrfs.cfg 1970-01-01 00:00:00 +0000
3+++ preseeds/default_btrfs.cfg 2014-02-04 21:55:02 +0000
4@@ -0,0 +1,41 @@
5+#
6+# Copyright (C) 2010, Canonical Ltd (http://www.canonical.com/)
7+#
8+# This file is part of ubuntu-server-iso-testing.
9+#
10+# ubuntu-server-iso-testing is free software: you can redistribute it
11+# and/or modify it under the terms of the GNU General Public License
12+# as published by the Free Software Foundation, either version 3 of
13+# the License, or (at your option) any later version.
14+#
15+# ubuntu-server-iso-testing is distributed in the hope that it will
16+# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
17+# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+# GNU General Public License for more details.
19+#
20+# You should have received a copy of the GNU General Public License
21+# along with ubuntu-server-iso-testing. If not, see
22+# <http://www.gnu.org/licenses/>.
23+#
24+
25+d-i debian-installer/locale string en_US.UTF-8
26+d-i netcfg/get_hostname string utah-example
27+d-i partman-auto/method string regular
28+d-i partman/default_filesystem string btrfs
29+#need this for desktop
30+d-i partman/choose_partition select Finish partitioning and write changes to disk
31+#need this for cobbler
32+d-i partman/confirm boolean true
33+#need this for non-desktop
34+d-i partman/confirm_nooverwrite boolean true
35+d-i time/zone string Etc/UTC
36+d-i passwd/user-fullname string UTAH
37+d-i passwd/username string utah
38+d-i passwd/user-password password !ubuntu123
39+d-i passwd/user-password-again password !ubuntu123
40+d-i pkgsel/include string openssh-server python-yaml bzr git gdebi-core
41+#need this for non-desktop
42+d-i finish-install/reboot_in_progress note
43+#Temporary workaround for LP:1258245
44+d-i preseed/early_command string chmod 666 /dev/ttyS0
45+d-i preseed/late_command string chroot /target /usr/sbin/usermod -G dialout syslog
46
47=== added file 'runlists/default_btrfs.run'
48--- runlists/default_btrfs.run 1970-01-01 00:00:00 +0000
49+++ runlists/default_btrfs.run 2014-02-04 21:55:02 +0000
50@@ -0,0 +1,8 @@
51+testsuites:
52+ - name: usit
53+ fetch_method: bzr-export
54+ fetch_location: lp:ubuntu-test-cases/desktop/testsuites/usit
55+ include_tests:
56+ - read_write
57+ - dbus_machine_id
58+ - archive_location
59
60=== added file 'scripts/default_btrfs.cfg'
61--- scripts/default_btrfs.cfg 1970-01-01 00:00:00 +0000
62+++ scripts/default_btrfs.cfg 2014-02-04 21:55:02 +0000
63@@ -0,0 +1,10 @@
64+#!/bin/sh
65+# Run default scenario
66+SCRIPT_DIR=$(readlink -e $(dirname $0))
67+BRANCH_DIR=${BRANCH_DIR:-lp:ubuntu-test-cases/desktop}
68+PRESEED=$BRANCH_DIR/preseeds/default_btrfs.cfg
69+RUNLIST=$BRANCH_DIR/runlists/default_btrfs.run
70+
71+. $SCRIPT_DIR/base.sh
72+parse_args "$@"
73+echo $CMD

Subscribers

People subscribed via source and target branches