1*d4726bddSHONG Yifan#!/bin/bash 2*d4726bddSHONG Yifan 3*d4726bddSHONG Yifanset -euo pipefail 4*d4726bddSHONG Yifan 5*d4726bddSHONG Yifancd "${BUILD_WORKSPACE_DIRECTORY}" 6*d4726bddSHONG Yifan 7*d4726bddSHONG Yifan# We always expect to be able to query ... in this repo with no flags. 8*d4726bddSHONG Yifan# In the past this has regressed, e.g. in https://github.com/bazelbuild/rules_rust/issues/2359, so we have this test to ensure we don't regress again. 9*d4726bddSHONG Yifanbazel query //... >/dev/null 10*d4726bddSHONG Yifanbazel cquery //... >/dev/null 11