summaryrefslogtreecommitdiffstats
path: root/vendor/regex-syntax/test
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/regex-syntax/test')
-rwxr-xr-xvendor/regex-syntax/test4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/regex-syntax/test b/vendor/regex-syntax/test
index a4d6cfaba..8626c3bfc 100755
--- a/vendor/regex-syntax/test
+++ b/vendor/regex-syntax/test
@@ -2,6 +2,10 @@
set -e
+# cd to the directory containing this crate's Cargo.toml so that we don't need
+# to pass --manifest-path to every `cargo` command.
+cd "$(dirname "$0")"
+
# This is a convenience script for running a broad swath of the syntax tests.
echo "===== DEFAULT FEATURES ==="
cargo test