+testit_grep "set_ntacl_recursive1 testdirtop" \
+ "ignored symlink: $testdirtop" \
+ test_set_acl "$testdirtop" "$acl" --recursive || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive1 testdirtop" \
+ test_get_acl "$testdirtop" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive1 testfile" \
+ test_get_acl "$testfile" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive1 testdir1" \
+ test_get_acl "$testdir1" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive1 testdir1f" \
+ test_get_acl "$testdir1f" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+
+testit_grep "changedomsid_recursive1 testdir1" \
+ "ignored symlink: $testdir1l" \
+ test_changedomsid "$testdir1" --recursive || failed=$(expr $failed + 1)
+testit "get_ntacl_after_changedomsid_recursive1 testdirtop" \
+ test_get_acl "$testdirtop" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_changedomsid_recursive1 testfile" \
+ test_get_acl "$testfile" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_changedomsid_recursive1 testdir1" \
+ test_get_acl "$testdir1" "$new_acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_changedomsid_recursive1 testdir1f" \
+ test_get_acl "$testdir1f" "$new_acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+
+testit_grep "changedomsid_recursive2 testdirtop" \
+ "ignored symlink: $testdir1l" \
+ test_changedomsid "$testdirtop" --recursive || failed=$(expr $failed + 1)
+testit "get_ntacl_after_changedomsid_recursive2 testdirtop" \
+ test_get_acl "$testdirtop" "$new_acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_changedomsid_recursive2 testfile" \
+ test_get_acl "$testfile" "$new_acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_changedomsid_recursive2 testdir1" \
+ test_get_acl "$testdir1" "$new_acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_changedomsid_recursive2 testdir1f" \
+ test_get_acl "$testdir1f" "$new_acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+
+testit_grep "set_ntacl_recursive2 testdir1" \
+ "ignored symlink: $testdir1l" \
+ test_set_acl "$testdir1" "$acl" --recursive || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive2 testdirtop" \
+ test_get_acl "$testdirtop" "$new_acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive2 testfile" \
+ test_get_acl "$testfile" "$new_acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive2 testdir1" \
+ test_get_acl "$testdir1" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive2 testdir1f" \
+ test_get_acl "$testdir1f" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+
+testit_grep "set_ntacl_recursive3 testdir1" \
+ "symlink: $testdir1l" \
+ test_set_acl "$testdir1" "$acl" --recursive --follow-symlinks --verbose || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive3 testdirtop" \
+ test_get_acl "$testdirtop" "$new_acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive3 testfile" \
+ test_get_acl "$testfile" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive3 testdir1" \
+ test_get_acl "$testdir1" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+testit "get_ntacl_after_set_recursive3 testdir1f" \
+ test_get_acl "$testdir1f" "$acl_without_padding" \
+ --service=tmp \
+ $CONFIGURATION \
+ || failed=$(expr $failed + 1)
+
+rm -rf "$testdirtop"