summaryrefslogtreecommitdiff
path: root/yarns/9000-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-03-27 20:47:02 +0000
committerLars Wirzenius <liw@liw.fi>2014-03-27 20:47:02 +0000
commit4bae8d8b01bbbc816f202d79e50135bf0bf26d5d (patch)
tree33cce20d5752f547b4f61e345cc0c680666954e6 /yarns/9000-implements.yarn
parenta17cdfe3eca1aa308809697ddc2c170a7cc6b501 (diff)
downloadobnam-4bae8d8b01bbbc816f202d79e50135bf0bf26d5d.tar.gz
Convert unreadable-dir cmdtest to yarn
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r--yarns/9000-implements.yarn5
1 files changed, 5 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn
index 26716143..f2dab5f4 100644
--- a/yarns/9000-implements.yarn
+++ b/yarns/9000-implements.yarn
@@ -93,6 +93,11 @@ Create a file with given permissions.
touch "$DATADIR/$MATCH_1"
chmod "$MATCH_2" "$DATADIR/$MATCH_1"
+Create a directory with given permissions.
+
+ IMPLEMENTS GIVEN directory (\S+) with permissions (\S+)
+ install -d -m "$MATCH_2" "$DATADIR/$MATCH_1"
+
We need to manipulate extended attributes.
IMPLEMENTS GIVEN file (\S+) has extended attribute (\S+) set to (\S+)