]> git.scottworley.com Git - pinch/commitdiff
set -e in test scripts
authorScott Worley <scottworley@scottworley.com>
Fri, 22 May 2020 23:55:04 +0000 (16:55 -0700)
committerScott Worley <scottworley@scottworley.com>
Fri, 22 May 2020 23:55:04 +0000 (16:55 -0700)
tests/alias.sh
tests/core.sh
tests/multi-update.sh
tests/reject-duplicates.sh

index 5bc611b09713e06b38810c4dd119dd33c3739500..c7213403995d2d1093f1e1b57325aa67cf9f1cca 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 repo_dir="`mktemp -d`"
 repo="$repo_dir/repo"
 git init "$repo"
index bb647010fd1225db2a8cfe7831f2b077688e9d68..385ae2ba2bce33ead838020be80d62b38775d2de 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 repo_dir="`mktemp -d`"
 repo="$repo_dir/repo"
 git init "$repo"
index e7e5495929df335e6b0bbaf1aaa50755425a1977..24c22bc18eaa1dee6a54904e653309d0efb8d0a1 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 repo_dir="`mktemp -d`"
 repo="$repo_dir/repo"
 git init "$repo"
index 34e12c7a914ada90036039d393ebc63acfb719d1..d30bc40e32ab37217f21279930d452f9fb44fc2f 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 repo_dir1="`mktemp -d`"
 repo1="$repo_dir1/repo"
 git init "$repo1"