[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] master - TEST: Add a regression test for the ondisk/orphan bug.



Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=bd60232d7428a8b51c8794b30503761f4032f7a1
Commit:        bd60232d7428a8b51c8794b30503761f4032f7a1
Parent:        f897fcbd957517b484956062055599b226090f05
Author:        Petr Rockai <prockai redhat com>
AuthorDate:    Mon Jul 22 11:57:23 2013 +0200
Committer:     Petr Rockai <prockai redhat com>
CommitterDate: Mon Jul 22 11:57:23 2013 +0200

TEST: Add a regression test for the ondisk/orphan bug.

---
 test/shell/orphan-ondisk.sh |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/test/shell/orphan-ondisk.sh b/test/shell/orphan-ondisk.sh
new file mode 100644
index 0000000..2a820d6
--- /dev/null
+++ b/test/shell/orphan-ondisk.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Copyright (C) 2010 Red Hat, Inc. All rights reserved.
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU General Public License v.2.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+. lib/test
+
+aux prepare_vg 2
+vgreduce $vg $dev1 2>&1 | not grep -i 'parse error'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]