summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-08-15 20:41:30 +0100
committerLars Wirzenius <liw@liw.fi>2011-08-15 20:41:30 +0100
commitce4c78faa419d20c21d2f3ee00bf8610f587e879 (patch)
tree7d2e3b958ab88f9b8820d7f5ea794d0ff267a1ea /tests
parent804fc79fb4713fb28b98dc530ab4e0d365da09f2 (diff)
downloadsummain-ce4c78faa419d20c21d2f3ee00bf8610f587e879.tar.gz
Add cmdtest test case for empty directory.
Diffstat (limited to 'tests')
-rw-r--r--tests/emptydir.args7
-rw-r--r--tests/emptydir.stdout6
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/emptydir.args b/tests/emptydir.args
new file mode 100644
index 0000000..a619b80
--- /dev/null
+++ b/tests/emptydir.args
@@ -0,0 +1,7 @@
+--exclude=Mtime
+--exclude=Uid
+--exclude=Username
+--exclude=Gid
+--exclude=Group
+--relative
+%(datadir)s
diff --git a/tests/emptydir.stdout b/tests/emptydir.stdout
new file mode 100644
index 0000000..1a7e6b7
--- /dev/null
+++ b/tests/emptydir.stdout
@@ -0,0 +1,6 @@
+Name: .
+Mode: 40775
+Ino: 1
+Dev: 1
+Nlink: 2
+