diff --git a/src/parse.c b/src/parse.c index 86ce72c7..c2257785 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1694,10 +1694,7 @@ static struct bfs_expr *parse_mount(struct bfs_parser *parser, int arg1, int arg return NULL; } - parse_expr_warning(parser, expr, "In the future, ${blu}%s${rs} will skip mount points entirely, unlike\n", expr->argv[0]); - bfs_warning(parser->ctx, "${blu}-xdev${rs}, due to http://austingroupbugs.net/view.php?id=1133.\n\n"); - - parser->ctx->flags |= BFTW_PRUNE_MOUNTS; + parser->ctx->flags |= BFTW_SKIP_MOUNTS; parser->mount_arg = expr->argv; return expr; } diff --git a/tests/common/L_mount.out b/tests/common/L_mount.out deleted file mode 100644 index 788579dd..00000000 --- a/tests/common/L_mount.out +++ /dev/null @@ -1,5 +0,0 @@ -. -./foo -./foo/bar -./foo/qux -./mnt diff --git a/tests/posix/L_mount.out b/tests/posix/L_mount.out new file mode 100644 index 00000000..7ed5f0da --- /dev/null +++ b/tests/posix/L_mount.out @@ -0,0 +1,2 @@ +. +./foo diff --git a/tests/common/L_mount.sh b/tests/posix/L_mount.sh similarity index 100% rename from tests/common/L_mount.sh rename to tests/posix/L_mount.sh diff --git a/tests/common/mount.out b/tests/posix/mount.out similarity index 75% rename from tests/common/mount.out rename to tests/posix/mount.out index 62534344..b0ad9378 100644 --- a/tests/common/mount.out +++ b/tests/posix/mount.out @@ -1,4 +1,3 @@ . ./foo ./foo/bar -./mnt diff --git a/tests/common/mount.sh b/tests/posix/mount.sh similarity index 100% rename from tests/common/mount.sh rename to tests/posix/mount.sh