From 6b1ecc327f2a1931342ecee1bebc247fa455c678 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 1 Feb 2022 16:43:20 -0500 Subject: tests: New tests for -i?wholename --- tests.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 1624d18..0990110 100755 --- a/tests.sh +++ b/tests.sh @@ -550,6 +550,8 @@ gnu_tests=( test_iregex + test_iwholename + test_lname test_L_lname @@ -641,6 +643,8 @@ gnu_tests=( test_uid_minus test_uid_minus_plus + test_wholename + test_writable test_xtype_l @@ -1301,6 +1305,10 @@ function test_path() { bfs_diff basic -path 'basic/*f*' } +function test_wholename() { + bfs_diff basic -wholename 'basic/*f*' +} + function test_true() { bfs_diff basic -true } @@ -1570,6 +1578,10 @@ function test_ipath() { bfs_diff basic -ipath 'basic/*F*' } +function test_iwholename() { + bfs_diff basic -iwholename 'basic/*F*' +} + function test_lname() { bfs_diff links -lname '[aq]' } -- cgit v1.2.3