]> git.sur5r.net Git - bacula/bacula/commitdiff
Discard prev regress test results
authorKern Sibbald <kern@sibbald.com>
Thu, 18 Feb 2010 09:23:55 +0000 (10:23 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:32 +0000 (16:49 +0200)
bacula/src/filed/xattr.c
regress/tests/three-pool-test

index 6227fd3b84c86ef159abec52da7a38c4ee3a7c26..b4a4f37475148861a6de251b9d0b2b5c5e9ab329 100644 (file)
@@ -749,7 +749,7 @@ static bxattr_exit_code bsd_build_xattr_streams(JCR *jcr, FF_PKT *ff_pkt)
           * Print the current name into the buffer as its not null terminated we need to
           * use the length encoded in the string for copying only the needed bytes.
           */
-         cnt = MIN((sizeof(current_attrname) - 1), xattr_list[index]);
+         cnt = MIN((int)(sizeof(current_attrname) - 1), xattr_list[index]);
          strncpy(current_attrname, xattr_list + (index + 1), cnt);
          current_attrname[cnt] = '\0';
 
@@ -980,7 +980,7 @@ static bxattr_exit_code bsd_parse_xattr_streams(JCR *jcr, int stream)
        */
       cnt = extattr_set_link(jcr->last_fname, current_attrnamespace,
                              attrname, current_xattr->value, current_xattr->value_length);
-      if (cnt < 0 || cnt != current_xattr->value_length) {
+      if (cnt < 0 || cnt != (int)current_xattr->value_length) {
          switch (errno) {
          case ENOENT:
             goto bail_out;
index 507b3d2e7bc9b4617494950a8337448bb4e24700..c8bf7ae11efb7ed2643723102ff472137fab450e 100755 (executable)
@@ -30,7 +30,7 @@ sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
 
 # Write out bconsole commands
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out /dev/null
+@out /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
 @#setdebug level=200 storage=tape
@@ -60,7 +60,7 @@ END_OF_DATA
 
 run_bacula
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out /dev/null
+@out /dev/null
 messages
 @# 
 @# now do a restore