summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-03-26 16:06:05 -0700
committerBrian Anderson <banderson@mozilla.com>2015-03-26 16:06:05 -0700
commitdf89a7112e5524c3d6071b2ede038c3a1d0badfb (patch)
tree43843024d2c081a64ca3f4b2645f0c753c1a32a2 /test.sh
parent11d990680e00a777b00faa02b4aea922973c99a0 (diff)
downloadrust-installer-df89a7112e5524c3d6071b2ede038c3a1d0badfb.tar.gz
Fix --help. #22
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/test.sh b/test.sh
index 9122b38..4cab6f6 100755
--- a/test.sh
+++ b/test.sh
@@ -1333,6 +1333,16 @@ leave_log_after_failure() {
}
runtest leave_log_after_failure
+# https://github.com/rust-lang/rust-installer/issues/22
+help() {
+ try sh "$S/gen-installer.sh" \
+ --image-dir="$TEST_DIR/image1" \
+ --work-dir="$WORK_DIR" \
+ --output-dir="$OUT_DIR"
+ try "$WORK_DIR/package/install.sh" --help
+}
+runtest help
+
# TODO: mandir/libdir/bindir, etc.
echo