core: Add 'cat' builtin
This commit is contained in:
1 parent
9dc86d0f5e
commit
eb7c3d01a3
7 files changed
+139
-10
No files matched your search
@@ -19,7 +19,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
echo "1..25"
|
||||
echo "1..26"
|
||||
|
||||
. libtest.sh
|
||||
|
||||
@@ -185,3 +185,8 @@ echo "ok commit statoverridde"
|
||||
cd ${test_tmpdir}
|
||||
$OSTREE prune
|
||||
echo "ok prune didn't fail"
|
||||
|
||||
cd ${test_tmpdir}
|
||||
$OSTREE cat test2 /yet/another/tree/green > greenfile-contents
|
||||
assert_file_has_content greenfile-contents "leaf"
|
||||
echo "ok cat-file"
|
||||
@@ -21,7 +21,7 @@ set -e
|
||||
|
||||
. libtest.sh
|
||||
|
||||
echo '1..9'
|
||||
echo '1..10'
|
||||
|
||||
setup_test_repository "archive"
|
||||
echo "ok setup"
|
||||
@@ -62,3 +62,8 @@ echo "ok uid0 ls"
|
||||
|
||||
$OSTREE checkout -U test2-uid0 checkout-user-test2-uid0
|
||||
echo "ok user checkout from uid 0"
|
||||
|
||||
cd ${test_tmpdir}
|
||||
$OSTREE cat test2 /baz/cow > cow-contents
|
||||
assert_file_has_content cow-contents "moo"
|
||||
echo "ok cat-file"
|
||||
Reference in new issue
Block a user