summaryrefslogtreecommitdiff
path: root/tests/test-basic.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-07-27 20:12:07 -0400
committerColin Walters <walters@verbum.org>2013-07-27 20:12:07 -0400
commit760b8661042f31a856fa768a52f8675d3e345855 (patch)
tree2667ed07e4ea2dfe52b218341efd3ae9a790bd89 /tests/test-basic.sh
parent7c5c3f2af86cd44aa4089f76ccbb6ae7d297cc6a (diff)
downloadostree-760b8661042f31a856fa768a52f8675d3e345855.tar.gz
main: Assume / for ls if no path given
Since it just is kind of a sane default.
Diffstat (limited to 'tests/test-basic.sh')
-rwxr-xr-xtests/test-basic.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test-basic.sh b/tests/test-basic.sh
index 998c6d9d..c6401ad5 100755
--- a/tests/test-basic.sh
+++ b/tests/test-basic.sh
@@ -19,7 +19,7 @@
set -e
-echo "1..34"
+echo "1..35"
. $(dirname $0)/libtest.sh
@@ -241,3 +241,7 @@ $OSTREE checkout test2 test2-checkout
(cd test2-checkout && $OSTREE commit --link-checkout-speedup -b test2 -s "tmp")
echo "ok commit with link speedup"
+cd ${test_tmpdir}
+$OSTREE ls test2
+echo "ok ls with no argument"
+