summaryrefslogtreecommitdiff
path: root/tests/t1101-busy-partition.sh
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright statements to 2022Brian C. Lane2023-03-241-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2022Brian C. Lane2022-03-231-1/+1
| | | | By running make update-copyright
* tests: check for vfat kernel support and toolsRoss Burton2021-08-101-0/+2
| | | | | | | | | t1100-busy-label.sh and t1101-busy-partition.sh create and mount VFAT partitions, so check for both the tools and the kernel support. Fixes bug#49594. Signed-off-by: Brian C. Lane <bcl@redhat.com>
* tests/t1101: Change dev_size_mb to 10Brian C. Lane2021-07-121-3/+3
| | | | | This is backed by memory, so using more than is needed limits the size of the system it can run on.
* maint: Update copyright statements to 2021Brian C. Lane2021-01-181-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2020Brian C. Lane2020-12-111-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2019Brian C. Lane2019-08-121-1/+1
| | | | By running make update-copyright
* parted: make _partition_warn_busy actually a warning instead of an errorPhillip Susi2014-06-151-1/+1
| | | | | | This function was throwing a PED_EXCEPTION_ERROR with only the PED_EXCEPTION_CANCEL option. Converted to a PED_EXCEPTION_WARNING with the option to continue anyhow.
* maint: run "make update-copyright"Jim Meyering2014-05-251-1/+1
|
* maint: update all copyright year number rangesJim Meyering2013-01-061-1/+1
| | | | Run "make update-copyright".
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* tests: use "compare exp out", not "compare out exp"Jim Meyering2011-11-291-4/+4
| | | | | | | | | | | | | | Likewise, when an empty file is expected, use "compare /dev/null out", not "compare out /dev/null". I.e., specify the expected/desired contents via the first file name. Prompted by a suggestion from Bruno Haible in http://thread.gmane.org/gmane.comp.gnu.grep.bugs/4020/focus=29154 Run these commands: git grep -l -E 'compare [^ ]+ exp' \ |xargs perl -pi -e 's/\b(compare) (\S+) (exp\S*)/$1 $3 $2/' git grep -l -E 'compare [^ ]+ /dev/null' \ |xargs perl -pi -e 's,\b(compare) (\S+) (/dev/null),$1 $3 $2,'
* tests: adapt t1101-busy-partition not to use mkpartfsJim Meyering2011-05-121-2/+4
| | | | * tests/t1101-busy-partition.sh: Use mkfs.vfat instead.
* tests: minor fix; add/adjust commentsJim Meyering2011-05-101-2/+3
| | | | | * tests/t1101-busy-partition.sh: Don't ignore failed comparison. Add a comment.
* tests: improve t1101-busy-partition.shJim Meyering2011-04-141-2/+2
| | | | | * tests/t1101-busy-partition.sh: Fail hard upon timeout while waiting for device to appear.
* maint: update copyright year ranges to include 2011Jim Meyering2011-02-221-1/+1
| | | | Run "make update-copyright".
* tests: adjust cleanup_ handler to work with init.shJim Meyering2010-11-201-1/+1
| | | | | | | | | | | | | | * tests/init.cfg (cleanup_, cleanup_fn_, cleanup_final_): Define. * tests/t-local.sh (cleanup_final_): Use this to ensure that we always release the lock and run rmmod. Overriding the trap did not do the job. * libparted/tests/t2100-zerolen.sh: Use cleanup_fn_, not cleanup_. * tests/t1100-busy-label.sh: Likewise. * tests/t1101-busy-partition.sh: Likewise. * tests/t4100-dvh-partition-limits.sh: Likewise. * tests/t4100-msdos-partition-limits.sh: Likewise. * tests/t6000-dm.sh: Likewise. * tests/t8000-loop.sh: Likewise.
* tests: remove fail=0 initializationsJim Meyering2010-11-201-2/+0
| | | | Now, this is done in init.sh.
* tests: convert t1101-busy-partition.shJim Meyering2010-11-201-7/+2
| | | | * tests/t1101-busy-partition.sh: Convert from t-lib.sh to init.sh.
* tests: global subst: s/skip_test_/skip_/Jim Meyering2010-11-201-1/+1
| | | | git grep -l skip_test_|xargs perl -pi -e 's/skip_test_/skip_/'
* tests: init.cfg: copy envvar setings from testlib.sh:Jim Meyering2010-11-201-15/+2
| | | | | | | Unset TERM and CDPATH; sanitize LC_ALL, TZ, LANG, and set PARTED_SUPPRESS_FILE_SYSTEM_MANIPULATION_WARNING=1. * tests/t1101-busy-partition.sh: Expect no output, now that we set PARTED_SUPPRESS_FILE_SYSTEM_MANIPULATION_WARNING=1.
* maint: remove trailing blankJim Meyering2010-07-171-1/+1
| | | | * tests/t1101-busy-partition.sh: Remove trailing blank.
* tests: add one: try to remove a busy partitionOtavio Salvador2010-06-301-0/+85
This test tries to reproduce the issue reported in Debian bug #582818[1]. 1. http://bugs.debian.org/582818 Basically it does: * create two primary partitions * mount the second one * remove the first (must work) * try to remove the second (must fail) * tests/t1101-busy-partition.sh: new file. * tests/Makefile.am (TESTS): add the new test in check target.