diff options
author | Wang Dong <dongdwdw@linux.vnet.ibm.com> | 2017-04-20 10:20:07 +0200 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2017-05-01 15:06:25 -0700 |
commit | c11f5c005270d24bc3905ab3b743e96fc1a9a507 (patch) | |
tree | 6837162ba762102ec6116b75bf9ef19164d64ce8 /libparted/tests/t4000-volser.sh | |
parent | ee2c0c20fb215af43b12195e8cd645cc1a0bd96e (diff) | |
download | parted-c11f5c005270d24bc3905ab3b743e96fc1a9a507.tar.gz |
libparted/dasd: add test cases for the new fdasd functions
The test case uses a temporary file in libparted/tests under
Check framwork.It can be issued by "make check" in the test dir.
Signed-off-by: Wang Dong <dongdwdw@linux.vnet.ibm.com>
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Diffstat (limited to 'libparted/tests/t4000-volser.sh')
-rwxr-xr-x | libparted/tests/t4000-volser.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libparted/tests/t4000-volser.sh b/libparted/tests/t4000-volser.sh new file mode 100755 index 0000000..89688ba --- /dev/null +++ b/libparted/tests/t4000-volser.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +# 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/>. + +. "${top_srcdir=../..}/tests/init.sh"; path_prepend_ . + +volser || fail=1 + +Exit $fail |