Skip to contentSkip to conversation

xfstests: define $seqres in btrfs/026-029

PATCH In review Koen De Wit 2 participants 2 messages Jan 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfstests: define $seqres in btrfs/026-029

I forgot to define $seqres in btrfs/026-029. As a result, a file named .full was created in the current working directory. Fix it.

---
 tests/btrfs/026 |    1 +
 tests/btrfs/027 |    1 +
 tests/btrfs/028 |    1 +
 tests/btrfs/029 |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)
tests/btrfs/026 +1 -0
index bf6f528..6c54590 100644
@@ -26,6 +26,7 @@
 #
 
 seq=`basename $0`
+seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
 
 here=`pwd`
tests/btrfs/027 +1 -0
index d76bb0f..b2dff1c 100644
@@ -26,6 +26,7 @@
 #-----------------------------------------------------------------------
 
 seq=`basename $0`
+seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
 
 here=`pwd`
tests/btrfs/028 +1 -0
index 06d2faf..f17f102 100644
@@ -24,6 +24,7 @@
 #-----------------------------------------------------------------------
 
 seq=`basename $0`
+seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
 
 here=`pwd`
tests/btrfs/029 +1 -0
index 1fd2a93..b93b6df 100644
@@ -29,6 +29,7 @@
 #-----------------------------------------------------------------------
 
 seq=`basename $0`
+seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
 
 here=`pwd`
Signature · 6 lines
1.7.1

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Koen De Wit

I forgot to define $seqres in btrfs/026-029. As a result, a file named .full was created in the current working directory. Fix it.

---
 tests/btrfs/026 |    1 +
 tests/btrfs/027 |    1 +
 tests/btrfs/028 |    1 +
 tests/btrfs/029 |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)

presumably we can add your signed-off-by? ;)

I wonder if this can't be done in the common scripts:

# grep -h seqres= tests/*/??? | sort | uniq -c
    349 seqres=$RESULT_DIR/$seq

rather than doing it in every single test ...

-Eric

Quoted 43 lines
tests/btrfs/026 +1 -0
index bf6f528..6c54590 100644
@@ -26,6 +26,7 @@
 #
 
 seq=`basename $0`
+seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
 
 here=`pwd`
tests/btrfs/027 +1 -0
index d76bb0f..b2dff1c 100644
@@ -26,6 +26,7 @@
 #-----------------------------------------------------------------------
 
 seq=`basename $0`
+seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
 
 here=`pwd`
tests/btrfs/028 +1 -0
index 06d2faf..f17f102 100644
@@ -24,6 +24,7 @@
 #-----------------------------------------------------------------------
 
 seq=`basename $0`
+seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
 
 here=`pwd`
tests/btrfs/029 +0 -0
index 1fd2a93..b93b6df 100644

tests/btrfs/029 line 35

Quoted 7 lines
tests/btrfs/029 +1 -0
@@ -29,6 +29,7 @@
 #-----------------------------------------------------------------------
 
 seq=`basename $0`
+seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
 
 here=`pwd`

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs