diff options
author | Radek Podgorny <radek@podgorny.cz> | 2014-03-20 19:17:26 +0100 |
---|---|---|
committer | Radek Podgorny <radek@podgorny.cz> | 2014-03-20 19:17:26 +0100 |
commit | a9315f19e6416bf9421c1d18813dff6f5eeaceee (patch) | |
tree | 22c90d8a28a75cb321296cbdb67cc1089e98de10 | |
parent | 478388ac1232c54347d0e3a8c31203e10f574f1b (diff) | |
download | unionfs-fuse-a9315f19e6416bf9421c1d18813dff6f5eeaceee.tar.gz |
add test for xattr of stats
-rwxr-xr-x | test.sh | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -9,7 +9,7 @@ echo v1 > original/file echo v1 > original/play-with-me echo v1 > original/delete-me -src/unionfs -d -o cow working-copy=rw:original=ro union >unionfs.log 2>&1 & +src/unionfs -d -o cow,stats working-copy=rw:original=ro union >unionfs.log 2>&1 & trap 'if [ "$(ls union)" ]; then fusermount -u union; fi; rm -rf union original working-copy' EXIT sleep 1 @@ -80,6 +80,15 @@ fi set -e +set +e +set +v +getfattr union/stats +if [ $? -eq 0 ]; then + echo "getfattr did not fail for stats, that's weird" + rc=$? +fi +set -e + fusermount -u union |