Message ID | 155304270779.31707.9419680484243839398.stgit@magnolia (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | fstests: various fixes | expand |
diff --git a/tests/generic/454 b/tests/generic/454 index 4a0936c5..01986d6b 100755 --- a/tests/generic/454 +++ b/tests/generic/454 @@ -48,7 +48,12 @@ setf() { key="$(echo -e "$1")" value="$2" - $SETFATTR_PROG -n "user.${key}" -v "${value}" "${testfile}" + $SETFATTR_PROG -n "user.${key}" -v "${value}" "${testfile}" > $tmp.output 2>&1 + if [ $? -ne 0 ]; then + grep -q 'No space left on device' $tmp.output && \ + _notrun "ran out of space" + cat $tmp.output + fi echo "Storing ${key} ($(hexbytes "${key}")) -> ${value}" >> $seqres.full }