Skip to content

Commit a6e0aa4

Browse files
committed
Fix OS is an unbound variable test error
Signed-off-by: Elijah Zupancic <[email protected]>
1 parent aea6286 commit a6e0aa4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/test_api.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#
1818

1919
set -o errexit # abort on nonzero exit status
20-
set -o nounset # abort on unbound variable
2120
set -o pipefail # don't hide errors within pipes
2221

2322
test_server=$1
@@ -45,6 +44,8 @@ elif command -v uname > /dev/null; then
4544
fi
4645
fi
4746

47+
set -o nounset # abort on unbound variable
48+
4849
e() {
4950
>&2 echo "$1"
5051
}

0 commit comments

Comments
 (0)