From adc39aab58fb049a88b0fc0052b9a8c59776662d Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Mon, 9 Dec 2024 14:42:45 -0800 Subject: [PATCH] Revert "lint: consistent shell pragma" This reverts commit 222c7d8b1ff179f0a8ebfdc8eb17690a5380f479. --- .../public/upgrade-test-scripts/install_deps.sh | 2 +- proposals/16:upgrade-8/test.sh | 2 +- proposals/16:upgrade-8/use.sh | 2 +- proposals/29:upgrade-9/test.sh | 2 +- proposals/29:upgrade-9/use.sh | 2 +- proposals/34:upgrade-10/test.sh | 2 +- proposals/34:upgrade-10/use.sh | 2 +- proposals/43:upgrade-11/test.sh | 2 +- proposals/43:upgrade-11/use.sh | 2 +- proposals/49:smart-wallet-nft/eval.sh | 2 +- proposals/49:smart-wallet-nft/test.sh | 2 +- proposals/53:kread-start/eval.sh | 2 +- proposals/53:kread-start/test.sh | 2 +- proposals/53:kread-start/use.sh | 2 +- proposals/55:statom-vaults/eval.sh | 2 +- proposals/55:statom-vaults/test.sh | 2 +- proposals/59:usdc-psm/test.sh | 2 +- proposals/61:lo-bundle-cost/eval.sh | 2 +- proposals/61:lo-bundle-cost/test.sh | 2 +- proposals/63:upgrade-12/test.sh | 2 +- proposals/64:crabble-start/eval.sh | 3 ++- proposals/64:crabble-start/test.sh | 2 +- proposals/64:crabble-start/use.sh | 2 +- proposals/65:upgrade-13/test.sh | 2 +- proposals/71:upgrade-14/test.sh | 2 +- proposals/71:upgrade-14/use.sh | 2 +- proposals/74:upgrade-15/test.sh | 2 +- proposals/75:upgrade-16/test.sh | 2 +- proposals/76:vaults-auctions/eval.sh | 2 +- proposals/76:vaults-auctions/test.sh | 2 +- proposals/78:upgrade-17/test.sh | 2 +- 31 files changed, 32 insertions(+), 31 deletions(-) diff --git a/packages/synthetic-chain/public/upgrade-test-scripts/install_deps.sh b/packages/synthetic-chain/public/upgrade-test-scripts/install_deps.sh index 9bc912d9..7f5a986b 100755 --- a/packages/synthetic-chain/public/upgrade-test-scripts/install_deps.sh +++ b/packages/synthetic-chain/public/upgrade-test-scripts/install_deps.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -euo pipefail +set -e PROPOSAL_PATH=$1 diff --git a/proposals/16:upgrade-8/test.sh b/proposals/16:upgrade-8/test.sh index e6df2a52..1287ab6a 100755 --- a/proposals/16:upgrade-8/test.sh +++ b/proposals/16:upgrade-8/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/16:upgrade-8/use.sh b/proposals/16:upgrade-8/use.sh index b6b6f9df..2516eb48 100755 --- a/proposals/16:upgrade-8/use.sh +++ b/proposals/16:upgrade-8/use.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/29:upgrade-9/test.sh b/proposals/29:upgrade-9/test.sh index 8e4b2943..ab95b317 100755 --- a/proposals/29:upgrade-9/test.sh +++ b/proposals/29:upgrade-9/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/29:upgrade-9/use.sh b/proposals/29:upgrade-9/use.sh index 36fefb50..7546338e 100755 --- a/proposals/29:upgrade-9/use.sh +++ b/proposals/29:upgrade-9/use.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/34:upgrade-10/test.sh b/proposals/34:upgrade-10/test.sh index 8291dbe1..ea1b08a7 100755 --- a/proposals/34:upgrade-10/test.sh +++ b/proposals/34:upgrade-10/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/34:upgrade-10/use.sh b/proposals/34:upgrade-10/use.sh index 756d67b5..45962b45 100755 --- a/proposals/34:upgrade-10/use.sh +++ b/proposals/34:upgrade-10/use.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/43:upgrade-11/test.sh b/proposals/43:upgrade-11/test.sh index 1cca5f1b..cad0dbec 100755 --- a/proposals/43:upgrade-11/test.sh +++ b/proposals/43:upgrade-11/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/43:upgrade-11/use.sh b/proposals/43:upgrade-11/use.sh index 0c8419df..9c956a0f 100755 --- a/proposals/43:upgrade-11/use.sh +++ b/proposals/43:upgrade-11/use.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/49:smart-wallet-nft/eval.sh b/proposals/49:smart-wallet-nft/eval.sh index a055aea3..623ba7dc 100755 --- a/proposals/49:smart-wallet-nft/eval.sh +++ b/proposals/49:smart-wallet-nft/eval.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/49:smart-wallet-nft/test.sh b/proposals/49:smart-wallet-nft/test.sh index 8001927c..91b89b44 100755 --- a/proposals/49:smart-wallet-nft/test.sh +++ b/proposals/49:smart-wallet-nft/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/53:kread-start/eval.sh b/proposals/53:kread-start/eval.sh index d5b42d8d..4fe8d3ec 100755 --- a/proposals/53:kread-start/eval.sh +++ b/proposals/53:kread-start/eval.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/53:kread-start/test.sh b/proposals/53:kread-start/test.sh index 7ff24380..6dddce15 100755 --- a/proposals/53:kread-start/test.sh +++ b/proposals/53:kread-start/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e # source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/53:kread-start/use.sh b/proposals/53:kread-start/use.sh index 4c3dafd5..b26ebbf2 100755 --- a/proposals/53:kread-start/use.sh +++ b/proposals/53:kread-start/use.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e # source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/55:statom-vaults/eval.sh b/proposals/55:statom-vaults/eval.sh index 0a39a431..fb0dcb92 100755 --- a/proposals/55:statom-vaults/eval.sh +++ b/proposals/55:statom-vaults/eval.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/55:statom-vaults/test.sh b/proposals/55:statom-vaults/test.sh index a294b293..c7330a59 100755 --- a/proposals/55:statom-vaults/test.sh +++ b/proposals/55:statom-vaults/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e # TODO stATOM-USD price feed instance in agoricNames # TODO manager in vstorage diff --git a/proposals/59:usdc-psm/test.sh b/proposals/59:usdc-psm/test.sh index 24152c0b..f747ac46 100755 --- a/proposals/59:usdc-psm/test.sh +++ b/proposals/59:usdc-psm/test.sh @@ -1,4 +1,4 @@ #!/bin/bash -set -euo pipefail +set -e echo check for USDC in psm pairs agd query vstorage children published.psm.IST | grep USDC diff --git a/proposals/61:lo-bundle-cost/eval.sh b/proposals/61:lo-bundle-cost/eval.sh index 8b7a7ea8..c1cd4c2b 100644 --- a/proposals/61:lo-bundle-cost/eval.sh +++ b/proposals/61:lo-bundle-cost/eval.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/61:lo-bundle-cost/test.sh b/proposals/61:lo-bundle-cost/test.sh index 160cfc8b..8ce2ecc4 100755 --- a/proposals/61:lo-bundle-cost/test.sh +++ b/proposals/61:lo-bundle-cost/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e expected=20 diff --git a/proposals/63:upgrade-12/test.sh b/proposals/63:upgrade-12/test.sh index 68d7ca30..ab9d2f8e 100755 --- a/proposals/63:upgrade-12/test.sh +++ b/proposals/63:upgrade-12/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh yarn ava post.test.js diff --git a/proposals/64:crabble-start/eval.sh b/proposals/64:crabble-start/eval.sh index 7528d5ec..fdd0f6ac 100755 --- a/proposals/64:crabble-start/eval.sh +++ b/proposals/64:crabble-start/eval.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh @@ -9,3 +9,4 @@ ls -al # XXX using Ava serial to script the core-eval yarn ava test-crabble-start.js + diff --git a/proposals/64:crabble-start/test.sh b/proposals/64:crabble-start/test.sh index 7ff24380..6dddce15 100755 --- a/proposals/64:crabble-start/test.sh +++ b/proposals/64:crabble-start/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e # source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/64:crabble-start/use.sh b/proposals/64:crabble-start/use.sh index 4c3dafd5..b26ebbf2 100755 --- a/proposals/64:crabble-start/use.sh +++ b/proposals/64:crabble-start/use.sh @@ -1,7 +1,7 @@ #!/bin/bash # Exit when any command fails -set -euo pipefail +set -e # source /usr/src/upgrade-test-scripts/env_setup.sh diff --git a/proposals/65:upgrade-13/test.sh b/proposals/65:upgrade-13/test.sh index 68d7ca30..ab9d2f8e 100755 --- a/proposals/65:upgrade-13/test.sh +++ b/proposals/65:upgrade-13/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e source /usr/src/upgrade-test-scripts/env_setup.sh yarn ava post.test.js diff --git a/proposals/71:upgrade-14/test.sh b/proposals/71:upgrade-14/test.sh index e4684117..c20f40a2 100755 --- a/proposals/71:upgrade-14/test.sh +++ b/proposals/71:upgrade-14/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e # Place here any test that should be executed using the executed proposal. # The effects of this step are not persisted in further proposal layers. diff --git a/proposals/71:upgrade-14/use.sh b/proposals/71:upgrade-14/use.sh index 2f36184e..7411bdbc 100755 --- a/proposals/71:upgrade-14/use.sh +++ b/proposals/71:upgrade-14/use.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e # Place here any actions that should happen after the upgrade has executed. The # actions are executed in the upgraded chain software and the effects are diff --git a/proposals/74:upgrade-15/test.sh b/proposals/74:upgrade-15/test.sh index 35665554..27d004ce 100755 --- a/proposals/74:upgrade-15/test.sh +++ b/proposals/74:upgrade-15/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e # Place here any test that should be executed using the executed proposal. # The effects of this step are not persisted in further proposal layers. diff --git a/proposals/75:upgrade-16/test.sh b/proposals/75:upgrade-16/test.sh index f3f4f9d7..695999a8 100755 --- a/proposals/75:upgrade-16/test.sh +++ b/proposals/75:upgrade-16/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e # Place here any test that should be executed using the executed proposal. # The effects of this step are not persisted in further proposal layers. diff --git a/proposals/76:vaults-auctions/eval.sh b/proposals/76:vaults-auctions/eval.sh index d0f89af4..9d0b2338 100755 --- a/proposals/76:vaults-auctions/eval.sh +++ b/proposals/76:vaults-auctions/eval.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e echo "[$PROPOSAL] Recording the auctioneer instance" ./saveAuctionInstance.js diff --git a/proposals/76:vaults-auctions/test.sh b/proposals/76:vaults-auctions/test.sh index d00e0a84..3817f1b0 100755 --- a/proposals/76:vaults-auctions/test.sh +++ b/proposals/76:vaults-auctions/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e # Place here any test that should be run using the executed proposal. # The effects of this step are not persisted in further proposal layers. diff --git a/proposals/78:upgrade-17/test.sh b/proposals/78:upgrade-17/test.sh index e701fe05..a0c7fc79 100755 --- a/proposals/78:upgrade-17/test.sh +++ b/proposals/78:upgrade-17/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -euo pipefail +set -e # Place here any test that should be executed using the executed proposal. # The effects of this step are not persisted in further proposal layers.