These scripts do not appear to require bash, and while /bin/sh
is not guaranteed either it's more commonly available.
Fixes tests on NixOS and in certain sandbox build environments.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/
D124205
-#!/bin/bash
+#!/bin/sh
# Tests for the keyword "failure" in the stderr of the optimization pass
mlir-opt $1 -test-mlir-reducer > /tmp/stdout.$$ 2>/tmp/stderr.$$
-#!/bin/bash
+#!/bin/sh
#Replicate bug
#Interesting behavior
-exit 1
\ No newline at end of file
+exit 1