summaryrefslogtreecommitdiffstats
path: root/tests/basic
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2018-08-18 01:25:34 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-08-19 13:18:03 +0000
commit5ad8b6779db0ffacf876e254621ee7111f7f82b0 (patch)
tree6a707acc42dceaded5cb05f960a4bc82c2ee34ee /tests/basic
parentfab6944206bf44e2260f20a9d5f1e785f933e705 (diff)
snapshot:Fail snapshot creation if an empty description provided
Snapshot description should have a valid string. Creating a snapshot with null value will cause reading from info file to fail with a null exception Change-Id: I9f84154b8e3e7ffefa5438807b3bb9b4e0d964ca updates: bz#1618004 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Diffstat (limited to 'tests/basic')
-rw-r--r--tests/basic/uss.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basic/uss.t b/tests/basic/uss.t
index 6cfc0303895..40e556e372e 100644
--- a/tests/basic/uss.t
+++ b/tests/basic/uss.t
@@ -52,6 +52,7 @@ TEST ln $M0/f1 $M0/dir/f3
TEST $CLI snapshot config activate-on-create enable
TEST $CLI volume set $V0 features.uss enable;
+TEST ! $CLI snapshot create snap1 $V0 no-timestamp description "";
TEST $CLI snapshot create snap1 $V0 no-timestamp;
for i in {11..20} ; do echo "file" > $M0/file$i ; done