diff options
author | Petr Rockai <prockai@redhat.com> | 2013-07-22 11:57:23 +0200 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2013-07-22 11:57:23 +0200 |
commit | bd60232d7428a8b51c8794b30503761f4032f7a1 (patch) | |
tree | eff44b0625d9e1d84de9048aeafece283a725321 | |
parent | f897fcbd957517b484956062055599b226090f05 (diff) | |
download | lvm2-bd60232d7428a8b51c8794b30503761f4032f7a1.tar.gz |
TEST: Add a regression test for the ondisk/orphan bug.
-rw-r--r-- | 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 000000000..2a820d6dd --- /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' |