From c1d714f944ee334a58ebf0adb19420bcf5d62d84 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 21 Nov 2016 14:44:06 +0100 Subject: btrfs-progs: tests: drop redundant test for rwx number validity The list of rwx permissions is now hardcoded but used to begenerated and the invalid numbers filtered out. Not necessary anymore. Signed-off-by: David Sterba --- tests/common | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'tests/common') diff --git a/tests/common b/tests/common index 71806c24..d9dec0c3 100644 --- a/tests/common +++ b/tests/common @@ -357,13 +357,8 @@ generate_dataset() { 1777 1775 1755 1750 1700 1666 1664 1644 1640 1600 1444 1440 1400 1000 \ 2777 2775 2755 2750 2700 2666 2664 2644 2640 2600 2444 2440 2400 2000 \ 4777 4775 4755 4750 4700 4666 4664 4644 4640 4600 4444 4440 4400 4000; do - if [[ "$modes" == *9* ]] || [[ "$modes" == *8* ]] - then - continue; - else - run_check $SUDO_HELPER touch "$dirpath/$dataset_type.$modes" - run_check $SUDO_HELPER chmod "$modes" "$dirpath/$dataset_type.$modes" - fi + run_check $SUDO_HELPER touch "$dirpath/$dataset_type.$modes" + run_check $SUDO_HELPER chmod "$modes" "$dirpath/$dataset_type.$modes" done ;; -- cgit v1.2.3