aboutsummaryrefslogtreecommitdiff
path: root/integration/apps/bun-run-check.sh
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-06-22 23:21:48 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-06-22 23:21:48 -0700
commit729d445b6885f69dd2c6355f38707bd42851c791 (patch)
treef87a7c408929ea3f57bbb7ace380cf869da83c0e /integration/apps/bun-run-check.sh
parent25f820c6bf1d8ec6d444ef579cc036b8c0607b75 (diff)
downloadbun-jarred/rename.tar.gz
bun-jarred/rename.tar.zst
bun-jarred/rename.zip
change the directory structurejarred/rename
Diffstat (limited to 'integration/apps/bun-run-check.sh')
-rw-r--r--integration/apps/bun-run-check.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/integration/apps/bun-run-check.sh b/integration/apps/bun-run-check.sh
deleted file mode 100644
index dca1db6ae..000000000
--- a/integration/apps/bun-run-check.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-(killall -9 $(basename $BUN_BIN) || echo "") >/dev/null 2>&1
-
-# https://github.com/Jarred-Sumner/bun/issues/40
-# Define a function (details aren't important)
-fn() { :; }
-# The important bit: export the function
-export -f fn
-
-rm -rf /tmp/bun-run-check
-mkdir -p /tmp/bun-run-check
-
-cp ./bun-run-check-package.json /tmp/bun-run-check/package.json
-cd /tmp/bun-run-check
-
-$BUN_BIN run bash -- -c ""
-
-if (($?)); then
- echo "Bash exported functions are broken"
- exit 1
-fi
-
-# https://github.com/Jarred-Sumner/bun/issues/53
-rm -f /tmp/bun-run-out.expected.txt /tmp/bun-run-out.txt >/dev/null 2>&1
-
-$BUN_BIN run --silent argv -- foo bar baz >/tmp/bun-run-out.txt
-npm run --silent argv -- foo bar baz >/tmp/bun-run-out.expected.txt
-
-cmp -s /tmp/bun-run-out.expected.txt /tmp/bun-run-out.txt
-if (($?)); then
- echo "argv failed"
- exit 1
-fi
-
-$BUN_BIN run --silent this-should-work
-
-if (($?)); then
- echo "this-should work failed"
- exit 1
-fi
-
-exit 0