summaryrefslogtreecommitdiffstats
path: root/run_test_suite
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2013-03-27 17:16:29 +0100
committerTails developers <amnesia@boum.org>2013-03-27 17:16:29 +0100
commit15072a9a13c96883e019a7c4b3657353a246e9e3 (patch)
tree4c8e9b423ace9718099e5ae7a073f2f444323296 /run_test_suite
parent710badd2845d349a8dbadd31034d4ccb8dfd3e02 (diff)
Drop broken --newest-iso option.
Instead we let the test suite use its default (which is the same as what --newest-iso was supposed to do) when no --iso is given.
Diffstat (limited to 'run_test_suite')
-rwxr-xr-xrun_test_suite12
1 files changed, 4 insertions, 8 deletions
diff --git a/run_test_suite b/run_test_suite
index 7227df4..6a6a2fd 100755
--- a/run_test_suite
+++ b/run_test_suite
@@ -23,9 +23,9 @@ Options for '@product' features:
--view Shows the test session in a windows. Requires x11vnc
and xtightvncviewer.
--vnc-server-only Starts a VNC server for the test session. Requires x11vnc.
- --iso IMAGE Test all '@product' features with IMAGE.
- --newest-iso Like above, but we use the ISO image with most recent
- mtime in the current directory
+ --iso IMAGE Test '@product' features using IMAGE. If none is given,
+ any '@product' feature will use the ISO image with most
+ recet mtime in the current directory
Note that '@source' features has no relevant options.
"
@@ -95,7 +95,7 @@ capture_session() {
unset CAPTURE_FILE VNC_VIEWER VNC_SERVER
SHORTOPTS="a:c"
-LONGOPTS="view,vnc-server-only,capture:,help,temp-dir:,newest-iso:,keep-snapshots,iso:"
+LONGOPTS="view,vnc-server-only,capture:,help,temp-dir:,keep-snapshots,iso:"
OPTS=$(getopt -o $SHORTOPTS --longoptions $LONGOPTS -n "${NAME}" -- "$@")
eval set -- "$OPTS"
while [ $# -gt 0 ]; do
@@ -123,10 +123,6 @@ while [ $# -gt 0 ]; do
shift
export ISO="$(readlink -f $1)"
;;
- --newest-iso)
- NEWEST_ISO=yes
- unset ISO
- ;;
--help)
usage
exit 0