t/100-args: add a test for --old-args feature.

This commit is contained in:
Avery Pennarun 2012-02-08 23:12:43 -05:00
commit 1f304f4d1d
2 changed files with 7 additions and 0 deletions

View file

@ -1 +1,3 @@
redo test.args test2.args passfailtest
. ../skip-if-minimal-do.sh
redo --old-args test.oldargs

View file

@ -0,0 +1,5 @@
# Note: this test expects to be run with 'redo --old-args' or it will fail.
. ../skip-if-minimal-do.sh
[ "$1" = "test" ]
[ "$2" = ".oldargs" ]
[ "$3" != "test.oldargs" ]