about summary refs log tree commit diff
path: root/third_party/git/t/chainlint/exit-loop.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/chainlint/exit-loop.test')
-rw-r--r--third_party/git/t/chainlint/exit-loop.test27
1 files changed, 0 insertions, 27 deletions
diff --git a/third_party/git/t/chainlint/exit-loop.test b/third_party/git/t/chainlint/exit-loop.test
deleted file mode 100644
index 2f038207e194..000000000000
--- a/third_party/git/t/chainlint/exit-loop.test
+++ /dev/null
@@ -1,27 +0,0 @@
-(
-	for i in a b c
-	do
-# LINT: "|| exit {n}" valid for-loop escape in subshell; no "&&" needed
-		foo || exit 1
-		bar &&
-		baz
-	done
-) &&
-(
-	while true
-	do
-# LINT: "|| exit {n}" valid while-loop escape in subshell; no "&&" needed
-		foo || exit 1
-		bar &&
-		baz
-	done
-) &&
-(
-	i=0 &&
-	while test $i -lt 10
-	do
-# LINT: "|| exit" (sans exit code) valid escape in subshell; no "&&" needed
-		echo $i || exit
-		i=$(($i + 1))
-	done
-)