Fixed test script.
This commit is contained in:
parent
50de3d4fdf
commit
9790e52c89
@ -98,7 +98,7 @@ testSpacesInFilenames () {
|
||||
|
||||
createDirectoryWithSomeFiles
|
||||
|
||||
RES=$( { ./$PPSS -d /tmp/$TMP_DIR -c 'ls -alh ' >> log.txt ; } 2>&1 )
|
||||
RES=$( { ./$PPSS -d /tmp/$TMP_DIR -c 'ls -alh ' >> /dev/null ; } 2>&1 )
|
||||
assertEquals "PPSS did not execute properly." 0 "$?"
|
||||
|
||||
assertNull "PPSS retured some errors..." "$RES"
|
||||
@ -116,7 +116,7 @@ testSpacesInFilenames () {
|
||||
|
||||
testSpecialCharacterHandling () {
|
||||
|
||||
RES=$( { ./$PPSS -f "$INPUTFILESPECIAL" -c 'echo ' >> log.txt ; } 2>&1 )
|
||||
RES=$( { ./$PPSS -f "$INPUTFILESPECIAL" -c 'echo ' >> /dev/null ; } 2>&1 )
|
||||
assertEquals "PPSS did not execute properly." 0 "$?"
|
||||
|
||||
assertNull "PPSS retured some errors..." "$RES"
|
||||
|
Loading…
Reference in New Issue
Block a user