summaryrefslogtreecommitdiff
path: root/tests/common
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-11-21 14:44:06 +0100
committerDavid Sterba <dsterba@suse.com>2016-11-23 11:07:06 +0100
commitc1d714f944ee334a58ebf0adb19420bcf5d62d84 (patch)
tree4d53a1cd19fd2cace9da205a4f96b34df6defc2a /tests/common
parentb0d89755826d4e643c5aec8d1e8df1cbe2a587bc (diff)
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 <dsterba@suse.com>
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common9
1 files changed, 2 insertions, 7 deletions
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
;;